Html Basic Tags with Example

Posted On September 27th, 2022

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

Exploring Common Challenges With WordPress CMS

Exploring Common Challenges With WordPress CMS

Posted on February 20th, 2024

WordPress CMS, A powerful Content Management System, has opened a door for millions of web developers to create stunning websites, online stores and blogs. Technology is getting advanced, right?...

Read More
10 Most Popular Australian Influencers To Discover | Influencer Marketing

10 Most Popular Australian Influencers To Discover | Influencer Marketing

Posted on February 20th, 2024

One of the most trending topics, “Influencers” are making everyone wonder about their existence. And this blog which is focused on Australian Influencers, will take you on a ride...

Read More
Top 10 Influencers In The UK You Must Follow Right Now!

Top 10 Influencers In The UK You Must Follow Right Now!

Posted on February 15th, 2024

Who is an Influencer? Simple! The one who influences. Right? Well this might not be a proper explanation about Top 10 Influencers In The UK. That’s why, we’ve written...

Read More
Meet Top 10 American Influencers: Why Are They Famous?

Meet Top 10 American Influencers: Why Are They Famous?

Posted on February 13th, 2024

Most of the time, your social media is filled with people you know but not really! American celebrities like Ariana Grande and Taylor Swift can be seen everywhere from...

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