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 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>
<!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.
- File Paths
- Semantic HTML
- Text Formatting
Looking to contribute?
- Learn more about how to get involved.
- Submit feedback to let us know how we can improve Docs.
Learn HTML on Codecademy
Front-End EngineerFront-end engineers work closely with designers to make websites beautiful, functional, and fast.
Includes 34 Courses
With Professional Certification