Html Basic Tags with Example

Posted On September 27th, 2022

[socialtags]

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, MSN, Yahoo, and Bing Traffic: Metrics and Search Volume

What is Google, MSN, Yahoo, and Bing Traffic: Metrics and Search Volume

Posted on September 15th, 2023

In the digital age, where information is just a click away, search engines play a pivotal role in connecting users with the content they seek. Google, MSN (now known...

Read More
5 Most Popular Machine Learning Software Tools

5 Most Popular Machine Learning Software Tools

Posted on September 12th, 2023

One option for businesses to change how they use big data to better understand their consumers’ behavior, satisfaction, and/or loyalty is through machine learning (ML). Users might not even...

Read More
Twitter Coin Feature: Everything You Should Know About It

Twitter Coin Feature: Everything You Should Know About It

Posted on September 12th, 2023

Have you heard about Twitter’s upcoming new coins feature? Recent reports revealed that Twitter is now working on new feature coins. The upcoming feature will allow users to reward...

Read More
How Search Engine Optimization Can Help To Increase Sales

How Search Engine Optimization Can Help To Increase Sales

Posted on September 11th, 2023

Do you want to grow your business? Need help with business growth? Search Engine Optimization is all you need; it is a key factor that helps to increase sales....

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