Overview & Structure
What is HTML?
HTML (HyperText Markup Language) is the main language used to create webpages.
It defines the structure and layout of web content by using elements and tags.
π Key Features:
Structure: Organizes the page into headings, paragraphs, lists, tables, links, etc.
Semantics: Describes the meaning of content (like <header>, <article>, <footer>, etc.).
Media Embedding: Allows images, audio, video, and animations to be added to webpages.
Hyperlinking: Connects different pages and websites through clickable links.
Forms: Collects user input with forms, text fields, buttons, and checkboxes.
π Basic Structure:
Every HTML page typically follows this format:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Heading</h1>
<p>Paragraph of text.</p>
</body>
</html>
π Evolution:
HTML 1.0 β Basic web pages (1993)
HTML 4.01 β More advanced features (1999)
HTML5 β Modern standard (2014): supports multimedia, responsive design, better APIs.
π― Why HTML is Important:
Itβs the foundation of all websites.
Every web developer must know it.
Works together with CSS (for styling) and JavaScript (for functionality).
In short:
HTML = the skeleton
CSS = the skin
JavaScript = the brain