-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtext.html
More file actions
106 lines (106 loc) · 3.01 KB
/
Copy pathtext.html
File metadata and controls
106 lines (106 loc) · 3.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>HTML TEXT</title>
<link rel="icon" href="assets/html5.png" type="image/x-icon">
<meta name='viewport' content='width=device-width, initial-scale=1'>
<style>
html{
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
table, th, td {
border: 1px solid black;
text-align: center;
border-collapse: collapse;
margin: 5% 15%;
padding: 5px;
}
.center {
margin-left: auto;
margin-right: auto;
}
.title{
font-size: 2rem;
text-align: center;
}
.concept{
padding: 15px;
font-size: 1.3rem;
font-weight: bold;
text-align: left;
}
button{
margin: 0% 49%;
}
</style>
</head>
<body>
<h1 class="title">HTML TEXT</h1>
<table class="center">
<tr>
<td colspan="2" class="concept">
<h2>Formatting elements were designed to display special types of text:</h2>
</td>
</tr>
<tr>
<td>
<code>
<b><strong></b>This text is important!<b></strong></b>
</code>
</td>
<td>
<strong>This text is important!</strong>
</td>
</tr>
<tr>
<td>
<p>
The <strike> tag was used in HTML 4 to define strikethrough text.
<br>Use the <del> tag to define deleted text:
</p>
<code>
<p>My favorite color is <del>blue</del>red!</p>
</code>
</td>
<td>
<p>My favorite color is <del>blue</del> red!</p>
</td>
</tr>
<tr>
<td>
<code>
<i>This text is italic</i>
</code>
</td>
<td>
<i>This text is italic</i>
</td>
</tr>
<tr>
<td>
<code>
<p>This is <sub>subscripted</sub> text.</p>
</code>
</td>
<td>
<p>This is <sub>subscripted</sub> text.</p>
</td>
</tr>
<tr>
<td>
<code>
<p>This is <sup>superscripted</sup> text.</p>
</code>
</td>
<td>
<p>This is <sup>superscripted</sup> text.</p>
</td>
</tr>
</table>
<a href="index.html">
<button>BACK</button>
</a>
</body>
</html>