Grokking HTML
0% completed
HTML Formatting
Two elements can look exactly the same on the screen and still mean different things. Both of these lines appear in bold:
<p><b>Northern Mill</b> flour gave the lightest pancakes.</p> <p><strong>Never leave hot oil unattended.</strong></p>
The first line draws attention to a product name. The second line marks a warning that matters more than the text around it. The browser shows both in bold because that is its default style, but the markup tells software, such as a screen reader or a search engine, what kind of text each one is.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%