January 2018
Intermediate to advanced
678 pages
20h 16m
English
body Elements: hr, p, br, divIn the prior sections, we covered the elements that appear inside the weather page’s head container. Now let’s cover the elements that appear inside the weather page’s body container. In FIGURE 1.7, which shows the body container code, note the h1, hr, p, br, and div elements. We’ve already talked about the h1 heading element, so now let’s focus on the other elements.
FIGURE 1.7 body container for Kansas City Weather web page
The hr element is used to render a horizontal line. When a browser renders an element, it figures out how the element’s code should be displayed. To keep things simple, you can think ...
Read now
Unlock full access