<!DOCTYPE html>
<html>
<head>
<title>My First HTML Page</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<p>This is my first paragraph. I’m learning HTML!</p>
</body>
</html>
(SEE RESULT)
Explanation of Each Tag
| Tag | Purpose |
| <!DOCTYPE html> | Declares the HTML5 document type. Always goes first. |
| <html> | Root of the page. All HTML content goes inside this. |
| <head> | Contains info about the page (not shown on the page). |
| <title> | Sets the browser tab’s title. |
| <body> | Contains everything you want to show on the screen. |
| <h1> | A main heading. |
| <p> | A paragraph of text. |
