reading-notes

Structure web pages with HTML

HTML and its uses

HTML (HyperText Markup Language) is a markup language and the most basic building block of the Web. It is used to define the meaning and structure of web content.


3 main parts of an HTML element

The main parts that make up an HTML structure include:


Giving an element extra information

When you give an element extra information, it is called an attribute. Attributes change how an element behaves or looks.


Semantic element

A semantic element is an HTML element where the meaning or purpose is clear from the element itself, not just its appearance.

Using semantic markup gives several benefits: