Html Basic Tags with Example
Posted On September 27th, 2022
Array
In this section, we’ll look at a list of HTML tags with examples. The article includes a table that lists all of the HTML tags. Clicking on any of the tags, for example, will take you to its detailed description.
1. Basic HTML Tags List Used in Coding
Tag | Description |
---|---|
<!DOCTYPE> | start document type |
<html> | This is root of HTML document |
<head> | It defines the HTML document’s head, which contains non-visible data such as metadata and other information. |
<body> | the body of a webpage that contains everything visible on the page |
<h1> to <h6> | This is a collection of heading tags that are used to create headings on a webpage. |
<p> | It defines a paragraph on a website. |
<!–…–> | It’s used to add comments to HTML documents. |
<br> | It indicates a line break. |
<hr> | To add a horizontal line in a webpage |
2. HTML Doctype
Doctype is a declaration of the document type to the browser. It is visible at the top of the HTML document.
It informs the browser about the HTML standard or markup language type. Although it is not required, it is a W3C recommendation. !DOCTYPE html> as an example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML - doctype tag</title>
</head>
<body>
<p>Doctype is used to declare type of markup language used.</p>
</body>
</html>
Related Posts

Student ID Offers and Benefits: Best Active Deals, Deadlines & How To Redeem (October 2025 Guide)
Posted on October 4th, 2025
Are you aware of all the exclusive student ID offers and benefits available right now? If you have a student ID, you can access dozens of active offers, discounts,...
Read More →
Best Places to Celebrate Diwali: A Complete Travel Guide
Posted on October 2nd, 2025
Introduction Diwali is one of the most vibrant and joyous festivals in the world. Often called the Festival of Lights, Diwali goes beyond just being a religious celebration; it...
Read More →
What is Affiliate Marketing, Its Basics, and How to Do It – For Beginners
Posted on October 1st, 2025
Introduction to Affiliate Marketing for Beginners Affiliate marketing is one of the most powerful and profitable ways to make money online, and in simple words, affiliate marketing basics for...
Read More →
How Search Engine Algorithm Work: Complete Guide
Posted on September 30th, 2025
Introduction to How Search Engine Algorithm Work When people search online, they depend on the engine to provide helpful and relevant results. The algorithm does the work of analyzing...
Read More →© All Copyright Reserved japjitravel.com
Leave a Comment :