O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Semantic HTML: Markup with Meaning

HTML is a clever system of including information about the content in a text document. This information, called markup, describes the meaning of the content, that is, the semantics. You’ve already seen a few examples in our basic HTML page, such as the p element that marks up paragraph content.

HTML does not define how the content should appear in a browser; that’s the role of CSS (Cascading Style Sheets). HTML5 stresses this distinction more than any prior version of HTML. It’s at the core of the language.

You might be wondering why, if that’s the case, some text in the basic HTML page Image looks larger than other ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required