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

TagDescription
<!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>

    Popular Tags :


Leave a Comment :

STAFF'S PICKS &

Related Posts

What is Google Algorithm and How it Works?

What is Google Algorithm and How it Works?

Posted on January 17th, 2025

Here an answer to what is Google Algorithm. Google’s Algorithm consists of rules and processes used by Google. It is helpful to organize and rank in search engine results...

Read More
5 Best Alternatives To MailChimp That Cost Less But Have the Same Features

5 Best Alternatives To MailChimp That Cost Less But Have the Same Features

Posted on January 14th, 2025

Are you trying to find an alternative to Mailchimp Alternatives? An industry’s most-liked option, Mailchimp Alternatives is now a well-known email marketing provider. It is a user-friendly tool. It...

Read More
Top 9 PLM Software Programs For Managing Your Product Lifecycle

Top 9 PLM Software Programs For Managing Your Product Lifecycle

Posted on January 10th, 2025

Product Lifecycle Management (PLM) is important in today’s manufacturing or product development way. PLM software is used to merge and manage the data connected to this complete lifetime. Product...

Read More
Top 5 Typing Software If You Learn Typing: Practice Software

Top 5 Typing Software If You Learn Typing: Practice Software

Posted on July 23rd, 2024

Typing is a crucial skill in today’s digital age, and whether you’re a student, professional, or just looking to improve your typing skills, having the right software can make...

Read More
Register Now and Get Paid for your great content. shareasale.com.

Stay Updated

Stay Updated By Subscribe Our List, Get New Blogs Notifications and Stay Updated with World

Stay Updated