HTML

Go to the previous lesson

Structuring the content of your webpage

HTML (HyperText Markup Language) is a way of structuring and describing the content of a page to the browser.

In HTML, opening and closing tags wrap around content to tell the browser what the content is. Attributes are sometimes used to provide more information about the content.

Basic HTML follows this structure:

<tag attribute>content</tag>

A good example of the three elements being used together is when we create a hyperlink to another page or another website. A hyperlink consists of the a (anchor) tag, the href attribute and the content. This creates a link with the word "Home" that, when clicked on, takes a user to the index.html page.

<a href="index.html">Home</a>

Below is the HTML of the page on the right. Have a play.

Play
Go to the next lesson

index.html

the web page

New Window
Next Section