What is HTML?

Knowledge Videos

Short animated explainers, organised by subject.

What is HTML?

HTML describes the content of a web page with elements: an opening tag, content and a closing tag. The page skeleton, head and body, and nesting.

Transcript

H T M L is the language that describes what is on a web page: headings, paragraphs, pictures and links. A page is built from elements.

An element has an opening tag, some content, and a closing tag. The tag h one means: this is a big heading. The closing tag has a slash.

Every page has the same skeleton. The html tag wraps everything. The head holds information about the page, like its title. The body holds what you see.

Elements sit inside other elements. This is called nesting, and it makes a tree. Save the file, and the browser shows the page.

Remember: H T M L describes the content of a page. An element is an opening tag, content and a closing tag. Every page has a head and a body.

More in this series