HTML page

Basic structure of an html page, tags

Web pages have a tree-like structure:

<html>

<body>

<p>Text of a webpage</p>

</body>

</html>


Examples of tags

(without < and >)


Inspector

Inspector can be opened in any browser by F12 or by right clicking in the page and selecting Inspect (specific wording may vary)

Right clicking an element in the inspector allows you to copy an automatically generated selector

But do not use the generated selector, prefer to write your own



Complete and Continue