Chapter 1 — Introduction to HTML and Web Structure
HTML documents are built from elements defined by tags. Most elements consist of an opening tag, content, and a closing tag, while some elements are self-closing. Tags describe the meaning and role of the content they enclose, allowing browsers to interpret the structure and display the page correctly.
Example: HTML elements
<p>This is a paragraph.</p>
<strong>This text is important.</strong>
<br>Here:
<p>defines a paragraph<strong>emphasizes important text<br>inserts a line break