HTML: Page Structure

Examples

Example 1

1<!DOCTYPE html>
2<html>
3  <head>
4    <meta charset="utf-8">
5    <meta name="viewport" content="width=device-width">
6    <title>My Page Title</title>
7  </head>
8
9  <body>
10    <div>
11      <span>Welcome home, John!</span>
12
13      <span>Your last sign-in was: Yesterday</span>
14    </div>
15
16    <div>
17      <span>Here is the forecast for today</span>
18
19      <hr>
20
21      <span>A high of X</span>
22
23      <br><br>
24
25      <span>A low of Y</span>
26
27      <br><br>
28
29      <span>And a slight amount of Z</span>
30    </div>
31  </body>
32</html>