Welcome to the exciting world of HTML! If you're new to web development, you've likely heard about the classic "Hello, World!" program. Today, we're going to create our very own "Hello, World!" HTML page. No need to install fancy software – just open a simple text editor and let's dive in!

HTML, or HyperText Markup Language, is the standard markup language for creating web pages. It's like the bones of your web page, giving it structure and allowing other languages to interact with it. Before we begin, ensure you have a basic understanding of HTML tags and how they work. Don't worry; if you're a beginner, this tutorial will guide you every step of the way.

Setting Up Your HTML Document
Let's start by creating the basic framework of an HTML document. Open a text editor (like Notepad on Windows or TextEdit on Mac), and type or paste the following code:

<!DOCTYPE html> <html> <head> </head> <body> </body> </html>
Explaining DoctorType and Basic Tags

<!DOCTYPE html> may seem like a strange thing to include at the top, but it helps with browser compatibility and ensures your page uses HTML5 standards. The other tags serve as containers for different parts of your document:
- <html> – The root of your HTML document
- <head> – Contains meta-information about your document, like its title and links to style sheets or scripts
- <body> – Contains the visible page content
Adding a Title to Your Web Page

Now that we have the basic structure, let's add a title to our document. Inside the <head> tag, add the following:
<title>My First HTML Page</title>
Refresh your understanding with w3schools's title tag explanation. You can open this link in a new tab for quick reference.

Creating Your "Hello, World!" Message
Time to make our page say hello to the world! Within the <body> tag, we'll add our main content. Let's start with a heading tag to display our message:




















Using Heading Tags
HTML has six heading tags, <h1> through <h6>, with <h1> being the largest and <h6> the smallest. For our message, use the H1 tag:
<h1>Hello, World!</h1>
Resulting in a major heading at the top of your page. Not sure how to make it look clean and crisp? Refer to this heading tutorial.
Adding Paragraphs and Line Breaks
The H1 tag is great for major headings, but we'll need another tag for actual paragraphs of content. Let's introduce the paragraph tag, <p>, and the line break tag, <br>.
Add the following lines beneath your heading:
<p>This is a paragraph.<br>It says hello to the world!</p>
Read more about these tags here: line break and paragraph.
And there you have it – your very first "Hello, World!" HTML page! Don't be discouraged if it doesn't look amazing yet. The world of HTML and web design is vast, and you've taken the first step. So, what's next? Why not explore different colors, fonts, or even images to spice up your page?
Remember, the best way to learn is by doing. Keep practicing, keep playing around with different codes and tags, and, most importantly, have fun! The web is your canvas, so get creative and enjoy the journey!