Ads Top

http://wapcircles.blogspot.com.ng/p/about.html

HTML Text Formatting

 By Formatted text, styled text, or rich text, as opposed to plain text, has styling information beyond the minimum of semantic elements: colours, styles (boldface, italic), sizes, and special features (such as hyperlinks).


examples of Formatted Text:

This text is bold
This text is italic
This is subscript and superscript

HTML Formatting Elements

In the previous chapter, you learned about the HTML style attribute.
HTML also defines special elements for defining text with a special meaning.
HTML uses elements like <b> and <i> for formatting output, like bold or italic text.
Formatting elements were designed to display special types of text Below are some Important text formats You are going to learn in this Chapter:
  • <b> - Bold text
  • <strong> - Important text
  • <i> - Italic text
  • <em> - Emphasized text
  • <mark> - Marked text
  • <small> - Small text
  • <del> - Deleted text
  • <ins> - Inserted text
  • <sub> - Subscript text
  • <sup> - Superscript text

To use the Above text formatting Elements, place the content or text Between the Elements like This:

1.  <i>This text is italic</ior you can also use this for Italic: <em>This text is emphasized</em>

2.   <h2>HTML <small>Small</small> Formatting</h2>

3.   <p><i>My favorite color is <del>blue</del> red. </i></p
 

At the Number three of The examples above, You will notice that I added Two Text formatting Elements together (<i> and <del> ) This will make a strike on the text "Blue" and Italisize the whole line of text...
Click here: How To Make Website/Web Pages Using Text Editors e.g NotePad++   


Wapcircles.blogspot.com. Powered by Blogger.