This article is about The Complete List of HTML Tags. Let’s know in brief what is HTML, HTML stands for HyperText Markup Language, which is the most widely used language on the Web to develop web pages. HTML was created by Berners-Lee in 1991 but “HTML 2.0” was the first standard HTML specification which was published in 1995.
HTML 4.01 was a major version of HTML and it was published in 1999. Though HTML 4.01 version is widely used currently HTML-5 version whích is an extension to HTML 4.01, and this version was published in 2012.
List of HTML Tags
As told earlier, HTML is a markup language and makes use of various tags to format the content. These tags are enclosed within angle brackets <Tag Name>. Except for a few tags, most of the tags have their corresponding closing tags, for example <html> has its closing tag </html> and <body> tag has its closing tag </body>, and so on. HTML tags are not case-sensitive; <b> means the same as <B>.
HTML Basic Tags
HTML Tags
Description
<html>
Create an HTML document
<head>
Sets off the title & other info that isn’t displayed
<body>
Sets off the visible portion of the document
<title>
Puts the name of the document in the title bar; when bookmarking pages, this is what is bookmarked
HTML Body Attributes
HTML Tags
Description
<body bgcolor=?>
Sets background color, using the name or hex value
<body text=?>
Sets text color, using the name or hex value
<body link=?>
Sets the color of links, using the name or hex value
<body vlink=?>
Sets the color of visited links, using the name or hex value
<body alink=?>
Sets the color of active links (while mouse-clicking)
HTML Text Tags
HTML Tags
Description
<pre>
Creates preformatted text
<h1> to <h6>
Creates headlines — H1=largest, H6=smallest
<b>
Creates bold text (should use <strong> instead)
<i>
Creates italicized text (should use <em> instead)
<tt>
Creates typewriter-style text
<code>
Used to define source code, usually monospace
<cite>
Creates a citation, usually processed in italics
<address>
Creates address section, usually processed in italics
<em>
Emphasizes a word (usually processed in italics)
<strong>
Emphasizes a word (usually processed in bold)
<font size=?>
Sets the size of the font – from 1 to 7 (should use CSS instead)
He is a blogger and a perpetual learner, dedicated to turning ideas into digital realities. His insatiable curiosity drives him to continually explore the latest technologies and share his knowledge with the world through insightful blog posts.