The tags provided within an HTML document are purely concerned with the way that the information in the document is presented (rendered, to use the technical term), by a web browser. HTML tags can be used to achieve a number of effects. As well as enabling basic text formatting, HTML tags can specify links, known as hypertext links, to other information, both within the document and in other documents. They can also be used to call for the display of images stored externally to the HTML document. Program code created in a scripting language such as JavaScript or PHP can also be hosted within HTML documents, along with some limited features that allow data to be input to feed the scripting-language programs.

In an HTML document, the tags ...

Get Principles of Data Management 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.