-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage2.html
More file actions
86 lines (86 loc) · 2.21 KB
/
Copy pathpage2.html
File metadata and controls
86 lines (86 loc) · 2.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Structure</title>
</head>
<body>
<center><ins> <em> <h1>Chapter 1<br>Structure</h1></em></ins></center>
<hr>
<center><h1>Body, Head & Title</h1></center> <hr>
<ul>
<li>
<h2>< body></h2>
<p>You met the <body> element
in the first example we created.
Everything inside this element is
shown inside the main browser
window</p>
</li> <hr>
<li>
<h2>< head></h2>
<p>Before the < body> element you
will often see a < head> element.
This contains information
about the page (rather than
information that is shown within
the main part of the browser
window that is highlighted in
blue on the opposite page).
You will usually find a < title>
element inside the < head>
element.</p>
</li> <hr>
<li>
<h2>< title></h2>
<p>The contents of the < title>
element are either shown in the
top of the browser, above where
you usually type in the URL of
the page you want to visit, or
on the tab for that page (if your
browser uses tabs to allow you
to view multiple pages at the
same time).</p>
</li> <hr>
</ul>
<center>
<ins><h1>Example</h1></ins>
</center>
<center>
<table border="2">
<thead>
<tr>
<th>HTML</th>
<th>Result</th>
</tr>
</thead>
<tbody>
<tr>
<td>
< html> <br>
< head> <br>
< title>This is the Title of the Page< /title> <br>
< /head> <br>
< body> <br>
< h1>This is the Body of the Page< /h1> <br>
< p>Anything within the body of a web page is <br>
displayed in the main browser window.< /p> <br>
< /body> <br>
</ html>
</td>
<th>
<h1>This is the Body of the Page</h1>
<p>Anything within the body of a web page is
displayed in the main browser window.</p>
</th>
</tr>
</tbody>
</table>
</center>
<hr>
<center><h3>02</h3></center>
<center><p><a href="page3.html">Next Page</a></p></center> <hr>
</body>
</html>