4

Basic HTML Elements

There’s a wide range of HTML elements, and technically all formatting of those elements happens in CSS. But certain HTML elements come with semantic meaning for how text should be presented on the screen.

In this chapter, we look at the most basic elements, and how they can come together to create a well-formatted, readable, and meaningful page.

HTML Text Formatting

If you’ve created text in Word or Google Docs, you’ll know that formatting can be done with the press of a few buttons. Select the text and choose a style from the menu, and formatting is applied. White space is added ...

Get HTML and CSS: Visual QuickStart Guide, 9th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.