We have seen that HTML is written in the form of tags and attributes that the browser interprets and renders the display. There are a number of tags that browsers recognize. In practice, the term tag is used interchangeably with the term element and the two terms are indeed used synonymously. However, there is a subtle difference that needs to be recognized. It is highlighted by the following statement—an element contains a start tag and an end tag. The most common ones are summarized by function in Figure 2.7.


Common tags


Fig. 2.7 Common tags


The reader is encouraged to refer help on HTML from the web for an exhaustive listing. ...

Get Web Technology: Theory and Practice now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.