Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

HTML

HTML, HyperText Markup Language, is the foundational technology of the web. It provides a way of defining the structure of resources that are primarily text-based, with the option of including other types of media such as images and video. It also provides simple ways of making those resources interactive—e.g., via forms.

In this section, we review the format of HTML documents and consider examples of how to structure different types of information. We do not provide an exhaustive survey of all the different elements that can appear in an HTML document; instead, we give some examples of the most important elements, along with pointers to where you can find out more.

Note also that we focus exclusively on the latest ‘living standard’ for HTML here. We do not consider older versions, nor do we discuss the history of their development.