Introduction to HTML
Understand what HTML is, why it is used, and how it builds the structure of every website.
HTML stands for HyperText Markup Language. It is the standard language used to create web pages. HTML uses elements called “tags” to organize content like headings, paragraphs, images, buttons, and links. Think of HTML as the skeleton of a website. It gives structure to everything you see on a webpage.
This code creates a very basic web page: <!DOCTYPE html> tells the browser this is an HTML5 document. <html> is the root of the webpage. <head> contains information about the page. <title> sets the browser tab name. <body> contains everything visible on the webpage. <h1> creates a large heading. <p> creates a paragraph.
<!DOCTYPE html>
<html>
<head>
<title>My First Website</title>
</head>
<body>
<h1>Welcome to HTML</h1>
<p>This is my first web page.</p>
</body>
</html>