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
MOZ SEO vs Semrush SEO Explained Clearly
Posted on December 13th, 2025
MOZ SEO tools and Semrush SEO tools lead the pack for search engine optimization success. Businesses rely on MOZ SEO tools or Semrush SEO tools to rank higher and...
Read More →
Google Ads: Ultimate Guide to Google Ads Success
Posted on December 11th, 2025
Have you ever wondered how businesses seem to appear magically at the top of your Google search results? The answer is almost always Google Ads. As the dominant force in online advertising, Google...
Read More →
Google Analytics 4 (GA4): A Complete Guide to Master Google SEO Analytic Tracking
Posted on December 9th, 2025
Understanding how Google tracks user behavior, traffic patterns, and engagement has become essential for every website owner today. As search engines evolve every month, businesses need accurate analytic insights...
Read More →
Semrush SEO Analytic Tool: The Complete Beginner-Friendly Guide to Smart Search Optimization
Posted on December 8th, 2025
Semrush is an all‑in‑one SEO analytic tool that helps you research keywords, analyze competitors, audit your site, and track rankings in one dashboard, making it one of the most...
Read More →© All Copyright Reserved japjitravel.com
Leave a Comment :