Web pages consist of content. That content must be formatted in some occasions to our needs. The way to do it is by using the Text Formatting elements as outlined bellow. Remember that every element has a start tag and an an tag.

<b> and <strong> elements

Both elements are quite the same in nature but different in coding so that the web developer makes a difference between them. The visual representation of the code is the same. the <strong> element stresses the importance of the content within that particular element.

 

<i> and <em>

Both elements display the text in italic but the code is different. The <em> element stresses the importance of the content within that particular element.

<ins> element

The <ins> element defines an inserted text (underline text)

<sub> sub-scripted element

Let’s say we want to present the number two sub-scripted in this example X2

HTML Text Formatting elements

<sup> super-scripted element

Let’s say we want to present the number two super-scripted in this example X2

HTML Text Formatting elements

<del> element

Lets say we want to cross line the text developer bellow. To do that we use the <del> element

HTML Text Formatting elements

<mark> element

If we want to highlight a portion of a text within paragraph then we use <mark> element for that purpose

HTML Text Formatting elements

<small> element

How great would it be if you can manipulate with the size of a text within a heading for an instance

HTML Text Formatting elements

Notice how the web developer text is a bit smaller

To recap we learned about the following HTML Text Formatting elements. We can use them anywhere within the <body> of the web pages.

 

Ad: Wordpress blog setup services. Get your Wordpress blog setup in under $100 and in less then 3 days! Click here

Mobile App Creation

Mobile App Creation Service

Ad: Get a mobile app based on your website. Get more visitors. Get into your customer pockets! Click here