Introduction to HTML
What is HTML?
HTML (HyperText Markup Language) is the standard language used to create the structure of web pages.
Basic Document Structure
<!DOCTYPE html>
<html>
<head>
<title>My First Page</title>
</head>
<body>
<h1>Hello, World!</h1>
<p>This is a simple HTML page.</p>
</body>
</html>
Key Points
- HTML uses tags to define elements (e.g.,
<h1>,<p>). - All pages start with
<!DOCTYPE html>. - Content visible in the browser goes inside
<body>.