HTML Terminology

Elements (Tags)

Elements are like little labels that identify and structure different parts of a Web page. They can contain text and/or other elements, or they can be empty. If it is a non-empty element then it consists of an opening and closing tag like the paragraph element below. If it is empty then it looks like a combination of a opening and closing tag together like the img element below.

Attributes and Values

Attributes contain information about the data in the document, as opposed to being that data itself. In HTML, an attribute’s value must always be enclosed in quotation marks. Some attributes can accept any value at all, others are more limited.