HTML: Div

Examples

Example 1

1<!-- Greeting Section -->
2<div>
3  <span>Welcome home, John!</span>
4
5  <span>Your last sign-in was: Yesterday</span>
6</div>
7
8<!-- Weather Section -->
9<div>
10  <span>Here is the forecast for today</span>
11
12  <hr>
13
14  <span>A high of X</span>
15
16  <br><br>
17
18  <span>A low of Y</span>
19
20  <br><br>
21
22  <span>And a slight amount of Z</span>
23</div>