HTML Syntax

As mentioned in Chapter 1, HTML is the language that defines every webpage. But what exactly does that mean, and what are the terms we should use when talking about HTML?

HTML is a set of text tags. These tags are inserted into the content of the HTML files that create your webpages, and they define the type of content being displayed in the browser.

In this chapter you will learn all about HTML, from the terms you need to know, to how to write tags, to the general makeup of an HTML document.

How HTML Tags Work

Take a look at one of the most common HTML tags (FIGURE 3.1). The <p> is a standard HTML ...

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.