Introduction

HTML is the standard markup language for creating Web pages.

It describes the structure of a Web page using elements and tags.

<html></html> <head></head>
HTML Elements

Elements are building blocks of HTML pages.

They are represented by tags like <p>, <a>, etc.

<p>This is a paragraph</p>
Attributes

Attributes provide additional information about elements.

They are always specified in the start tag.

<a href="https://example.com">Link</a>
Forms

Forms are used to collect user input.

They contain input elements like text fields, checkboxes, etc.

<input type="text" />
Semantic HTML

Semantic elements clearly describe their meaning in a human- and machine-readable way.

Examples: <header>, <footer>, <article>, etc.

<article></article>