Master HTML with our comprehensive, step-by-step tutorials
HTML (HyperText Markup Language) is the standard markup language for creating web pages. It describes the structure of a web page using markup elements.
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello World!</h1>
<p>This is my first web page.</p>
</body>
</html>
This is my first web page.
Let's break down the HTML document above:
<!DOCTYPE html> - Defines the document type<html> - Root element of the HTML page<head> - Contains meta information about the document<title> - Specifies the title shown in browser tab<body> - Contains the visible page content<h1> - Defines a large heading<p> - Defines a paragraph