Html Basic Tags with Example
Posted On September 27th, 2022
ArrayIn 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
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 →5 Most Popular Machine Learning Software Tools
Posted on July 23rd, 2024
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 →Advantage of Digital Marketing in Business?
Posted on July 22nd, 2024
The advent of digital marketing has transformed the way businesses market their offerings. As technology continues to advance, establishing a robust online presence has become a fundamental requirement for...
Read More →What is CAD?
Posted on July 22nd, 2024
Computer-Aided Design, commonly known as CAD, is a transformative technology that has significantly impacted various industries, including engineering, architecture, product design, and manufacturing. CAD systems utilize computer software to...
Read More →© All Copyright Reserved japjitravel.com
Leave a Comment :