HTML
HTML, short for HyperText Markup Language, is the foundation of all web pages. It was created by Tim Berners-Lee in 1993 to define the structure of a web page. Without it, you wouldn’t be able to organize text or add images or videos to your pages. HTML is the beginning of everything you need to know to make your first website.
HTML Structure
HTML is organized into a family tree structure. HTML elements can have parents, grandparents, siblings, children, grandchildren, etc.
<!DOCTYPE html><html><head><title>Title of the document</title></head><body><div><h1>Heading 1</h1><h2>Heading 2</h2></div></body></html>
The <!DOCTYPE> declaration tells the browser that a given file is a markup .html file and that a set of web standards must be applied to it. It is the first line of code that goes at the top of every HTML or XHTML file.
HTML Concepts
- Attributes
- Classes
- Comments
- Elements
- Entities
- Favicon
- File Paths
- Forms
- Headings
- IFrames
- Images
- Links
- Lists
- Quotations
- Semantic HTML
- Tables
- Tags
- Text Formatting
- Videos
HTML contributors
BrandonDusch88 contributions- Not-Ethan25 contributions
- short_matthew_f25 contributions
- StevenSwiniarski18 contributions
- asiqurr9 contributions
THE-Spellchecker8 contributions
Christine_Yang8 contributions
CaupolicanDiaz6 contributions
CBID26 contributions
AntonioRiccelli4 contributions
lcart7534 contributions
Sriparno084 contributions- CliffordMapesa3 contributions
cslylla3 contributions- garanews3 contributions
MarcoBuono2 contributions- MamtaWardhani2 contributions
douglasnarcizo2 contributions- JasonClough2 contributions
elliezub2 contributions- TukansTucis2 contributions
Roshan-Singh1 contribution
DakuwoN1 contribution
sharkipelago1 contribution
fa125had1 contribution- kitttrick1 contribution
JeremyBarbosa1 contribution- danieldo191 contribution
reece.atkinson1 contribution
hughlilly1 contribution- vivek_prajapatii1 contribution
TheRealArmani1 contribution
Hani_Al-Azzawi1 contribution
artyspangler1 contribution- ETurner-Bisset1 contribution
Rohith6xt1 contribution- WilkoDG1 contribution
itskarelleh1 contribution
TheZepp1 contribution- anuragG37202438741 contribution
- tonichaelmight1 contribution
shyamtawli1 contribution- web19805607921 contribution
- Brag2gr81 contribution
- Conor12_1 contribution
cjparsonson91485222221 contribution
Morethanmom1 contribution
lukHotov72434148211 contribution
board71618717791 contribution
MFValmayor1 contribution
DenisCabrera1 contribution- nicky-diaz1 contribution
cheriii1 contribution
Contribute to Docs
- Learn more about how to get involved.
- Submit feedback to let us know how we can improve Docs.
Learn HTML on Codecademy
- Front-end engineers work closely with designers to make websites beautiful, functional, and fast.
- Includes 34 Courses
- With Professional Certification
- Beginner Friendly.115 hours
- Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.
- Beginner Friendly.7 hours