HTML TUTORIALS BLOG HTML (Hypertext Markup Language) uses a markup system composed of elements which represent specific content. HTML is sometimes called a programming language but it has no logic, so is a markup language.

HTML Bold, Italic, and Underline

 Bold, Italic, and Underline 


Bold Text

To bold text, use the <strong> or <b> tags:

<strong>Bold Text Here</strong>

or

<b>Bold Text Here</b> 


Italic Text

To italicize text, use the <em> or <i> tags:

<em>Italicized Text Here</em>

or

<i>Italicized Text Here</i>


Underlined Text

<p>This paragraph contains some <u>mispelled</u> text.</p>


Abbreviation

To mark some expression as an abbreviation, use <abbr> tag:

<p>I like to write <abbr title="Hypertext Markup Language">HTML</abbr>!</p>

If present, the title attribute is used to present the full description of such abbreviation.


Inserted, Deleted, or Stricken

To mark text as inserted, use the <ins> tag:

<ins>New Text</ins>

To mark text as deleted, use the <del> tag:

<del>Deleted Text</del>

To strike through text, use the <s> tag:

<s>Struck-through text here</s>


Superscript and Subscript

To offset text either upward or downward you can use the tags <sup> and <sub>.

To create superscript:

<sup>superscript here</sup>

To create subscript:

 <sub>subscript here</sub> 


Newest
Previous
Next Post »