On this page
html
01 HTML
HTML
HTML (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page’s appearance/presentation (CSS) or functionality/behavior (JavaScript).
Elements
HTML elements create a tree structure of the content (the document object model). An HTML element is defined by a start tag, some content, and an end tag:
<tagname>Content goes here...</tagname>
The HTML element is everything from the start tag to the end tag.
Attributes
HTML elements can have attributes. Attributes provide additional information about the element.
<tagname attribute="value">Content goes here...</tagname>