HTML Tutorial: List of Non-Semantic Tags

HTML Tutorial: List of Non-Semantic Tags

In this HTML tutorial, we will discuss all the HTML non-semantic tags. In this article, I will explain some of the HTML non-semantic tags through a list.

HTML TUTORIAL

List  of Non-Semantic Tags


Tag Description Syntax
<div> The <div> tag is a block-level element used to create sections in an HTML document. <div></div>
<span> The <span> tag is an inline element used to group small parts of text for styling. <span></span>
<b> The <b> tag is used to make text bold without changing its importance. <b></b>
<i> The <i> tag is used to make text italic. <i></i>
<u> The <u> tag is used to underline text. <u></u>
<font> The <font> tag was used to specify the font, size, and color of text, but is now deprecated. <font face="Arial" size="3" color="red"></font>
<center> The <center> tag was used to center content horizontally, but is now deprecated. <center></center>
<big> The <big> tag was used to enlarge text but is now rarely used. <big></big>
<small> The <small> tag is used to make text smaller than the default size. <small></small>
<strike> The <strike> tag was used to show strikethrough text, but now <del> or CSS is preferred. <strike></strike>
<sub> The <sub> tag is used for subscript text, like in chemical formulas. <sub></sub>
<sup> The <sup> tag is used for superscript text, like exponents. <sup></sup>
<tt> The <tt> tag was used to display text in a teletype font, but is now deprecated. <tt></tt>
<marquee> The <marquee> tag was used to create scrolling text but is now deprecated. <marquee></marquee>

Post a Comment

Previous Post Next Post

Recent in Technology