beginnertermHTMLHTML / Element and tag
BeginnerNot yet reviewed

Element and tag

An HTML element is a building block of a page, written with an opening tag, some content and a closing tag, like <p>Hello</p>.

Definition

An HTML element is a building block of a page, written with an opening tag, some content and a closing tag, like <p>Hello</p>.

Use case

A heading, button, image or list is each an element. Picking the right element is the first design decision in code.

Related terms

Courses

Learn HTML

web.dev · Course

Starts from the basics of elements and builds up to full pages.

Suggest a change