HTML Text Formatting
Text Formatting In HTML :
This text is bold
This text is italic
This is subscript and superscript.
This text is italic
This is computer output
This is subscript and superscript.
HTML employs commands <b> and <i> for formatting result in bold or italic text.
These HTML commands are called formatting commands.
Text Formatting Commands In HTML :
Command Description
<b> Identifies bold text.
<em> Identifies emphasized text.
<i> Identifies a part of text in an alternate voice or mood.
<small> Identifies smaller text.
<strong> Identifies important text.
<sub> Identifies subscripted text.
<sup> Identifies superscripted text.
<ins> Identifies inserted text.
<del> Identifies deleted text.
“Computer Output” Command In HTML :
Command Description
<code> Identifies computer code text.
<kbd> Identifies keyboard text.
<samp> Identifies sample computer code.
<var> Identifies a variable.
<pre> Identifies preformatted text.
Citations, Quotations, and Definition Command In HTML :
Command Description
<abbr> Identifies an acronym.
<address> Identifies contact information for the owner of a document.
<bdo> Identifies the text direction.
<blockquote> Identifies a section that is quoted from another source.
<q> Identifies an inline (short) quotation.
<cite> Identifies the title of a work.
<dfn> Identifies a definition term.