HTML Text Formatting Tags


HTML Text Formatting Tags

Before discussing the topic of HTML Text Formatting Tags.
I hope that you’re familiar with Word Processors (like Microsoft Word, AppleWorks, WordPerfect, Apple Pages etc) If you used it then you must be aware of making the text bold, italic, underlined, superscript etc.
The same features are also supported by HTML and XHTML. The following are the tags used to represent text in the desired format

Tag Description
<b> Specifies bold text
<em> Specifies emphasized text
<i> Specifies italic text
<small> Specifies smaller text
<strong> Specifies important text
<sub> Specifies subscripted text
<sup> Specifies superscripted text
<ins> Specifies inserted text
<del> Specifies deleted text
<mark> Specifies marked/highlighted text


HTML Computer Code Elements

Tag Description
<code> Specifies programming code
<kbd> Specifies keyboard input
<samp> Specifies computer output
<var> Specifies a variable
<pre> Specifies preformatted text


HTML Quotation and Citation Elements

Tag Description
<abbr> Specifies an abbreviation or acronym
<address> Specifies contact information for the author/owner of a document
<bdo> Specifies the text direction
<blockquote> Specifies a section that is quoted from another source
<cite> Specifies the title of a work
<q> Specifies a short inline quotation


Leave A Reply