What is HTML?
HTML stands for HyperText Markup Language — the standard language used to create and structure web pages.
When you open a web page in your browser, you're seeing the result of HTML code that tells the browser what to display — headings, paragraphs, images, links, and more.
HTML was created by Tim Berners-Lee in 1991 and has evolved through multiple versions. The latest version is HTML5, which includes many new features for modern web development.
- HyperText means text that links to other text or documents
- Markup means HTML uses tags to mark or define different elements on a page
- Language refers to the syntax and rules for writing HTML code
<!DOCTYPE html>
<html>
<head>
<title>My First Page</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
Try It Yourself
<!DOCTYPE html>
<html>
<head>
<title>My First Page</title>
</head>
<body>
<h1>Hello World!</h1>
<p>Welcome to my first webpage.</p>
</body>
</html>
Note: HTML is the building block of the web and works together with CSS (styling) and JavaScript (interactivity).