Introduction to HTML for Beginners


1. What is HTML?


HTML stands for HyperText Markup Language. It is the standard markup language used to create the structure of webpages.


HTML helps us add headings, paragraphs, images, links, tables, lists, forms, and other elements to a website.


2. Basic HTML Structure


Every HTML document normally starts with the following structure:


<!DOCTYPE html>

<html>

<head>

<title>My First Website</title>

</head>

<body>

<h1>Welcome to My Website</h1>

<p>This is my first webpage.</p>

</body>

</html>


3. Common HTML Tags


Here are some important HTML tags:


- "<html>" – Defines the HTML document.

- "<head>" – Contains information about the webpage.

- "<title>" – Sets the webpage title.

- "<body>" – Contains the visible webpage content.

- "<h1>" – Creates the largest heading.

- "<h2>" – Creates a second-level heading.

- "<p>" – Creates a paragraph.

- "<br>" – Inserts a line break.

- "<hr>" – Creates a horizontal line.

- "<img>" – Displays an image.

- "<a>" – Creates a hyperlink.

- "<ul>" – Creates an unordered list.

- "<ol>" – Creates an ordered list.

- "<li>" – Creates a list item.


4. Example of a Simple Webpage


<!DOCTYPE html>

<html>

<head>

<title>About Me</title>

</head>

<body>

<h1>My Name Is Ismail Auwalu</h1>

<p>I am learning web development.</p>

<h2>My Future Goal</h2>

<p>I want to become a professional software developer.</p>

</body>

</html>


5. Why Should You Learn HTML?


Learning HTML is the first step towards becoming a web developer. It helps beginners understand how websites are structured.


After learning HTML, you can continue with CSS and JavaScript to build attractive and interactive websites.


Conclusion


HTML is an important skill in web development. Beginners should practise writing HTML code regularly and build simple projects to improve their knowledge.


Keep learning, keep practising, and never stop coding!