Create a Simple Webpage Using HTML

Creating a Simple Webpage: Putting HTML Tags into Practice

📌 Create a Simple Webpage Using HTML | Practical HTML Tutorial


👋 Introduction

In the last two steps of this HTML series, we learned:

🔹 Step 1: Learn HTML for Beginners
🔹 Step 2: Learn About HTML Tags in Detail

Now, it’s time to put all that knowledge into action and create a basic HTML webpage from scratch. Whether you’re new to coding or just exploring web development, this is the perfect starting point!


🎯 Objective

We will create a simple HTML webpage that contains:

  • A title and heading

  • A paragraph

  • An image

  • A link

  • A list

  • A horizontal line

  • Proper structure using <html>, <head>, and <body>


🧰 Tools Required

✅ You don’t need any fancy software.

Just use:

  • Notepad (Windows) or TextEdit (Mac)

  • Any web browser (Chrome, Firefox, Edge)


📝 Step-by-Step: Create Your First HTML Page

🪜 Step 1: Open Notepad or Text Editor

Open your text editor and copy the following code:


💻 Full HTML Page Code:

html
<!DOCTYPE html>
<html>
<head>
<title>My First Webpage</title>
</head>
<body>
<h1>Welcome to My Website</h1>
<p>This is my first HTML page. I am learning how to build a webpage using HTML.</p>
<h2>About Me</h2>
<p>My name is Achintya, and I love web development.</p>
<h3>My Hobbies:</h3>
<ul>
<li>Coding</li>
<li>Reading</li>
<li>Music</li>
</ul>
<hr>
<h2>My Favorite Website</h2>
<p>Visit <a href=”https://www.google.com” target=”_blank”>Google</a> for search and more.</p>
<h2>My Favorite Picture</h2>
<img src=”https://via.placeholder.com/300″ alt=”Sample Image”>
</body>
</html>

🧠 What This Code Does:

Code Section Purpose
<!DOCTYPE html> Declares HTML5
<html>, <head>, <body> Basic structure
<title> Sets browser tab title
<h1>, <h2>, <h3> Headings of different sizes
<p> Paragraphs
<ul>, <li> Unordered list of hobbies
<a> Hyperlink that opens in new tab
<img> Displays an image from the web
<hr> Horizontal line separator

🖥️ Step 2: Save the File

  1. In Notepad → Click File → Save As

  2. Name it: index.html

  3. Save as type: All Files

  4. Encoding: UTF-8

  5. Save it on your desktop or any folder


🌐 Step 3: Open in Browser

Double-click on the index.html file. It will open in your browser and you’ll see your first webpage live!

🎉 Congratulations! You just built your first webpage using only HTML.


🧽 Bonus Tips:

  • ✅ Always test your code by saving and refreshing the browser.

  • ✅ Use target="_blank" to open links in new tab.

  • ✅ Use alt text for images to improve accessibility and SEO.

  • ✅ Use meaningful headings (<h1> to <h6>) for better structure.


🔄 What You Learned in This Post:

✅ HTML page structure
✅ Headings, paragraphs, lists, links, and images
✅ How to save and open an HTML file in browser


🔗 Blog Series Navigation:

html
<div style=”background:#f9f9f9; padding:15px; border:1px solid #ddd; border-radius:6px;”>
<strong>📘 HTML Learning Series:</strong>
<ul>
<li>✅ Step 1: <a href=”https://your-website.com/learn-html-for-beginners”>Learn HTML for Beginners</a></li>
<li>✅ Step 2: <a href=”https://your-website.com/html-tags-explained-with-examples”>Learn About HTML Tags</a></li>
<li>🔵 Step 3: Creating a Simple Webpage (You are here)</li>
<li>🔜 Step 4: Introduction to HTML Attributes and How They Work</li>
</ul>
</div>

🎯 What’s Next?

In the next blog post, we’ll cover:

📢 Step 4: “Introduction to HTML Attributes and How They Work” next?

Learn HTML

Leave a Reply

Your email address will not be published. Required fields are marked *