Related post

Inheritance in Java programming with example | Zhullyblog

HTML text Formatting - Zhullyblog



Hello, welcome to zhullyblog. If this is your first time here , please Subscribe to Zhullyblog by Email to get latest tutorial.


HTML Text formatting

In HTML, you can format text i.e make it look entirely different from others. There are times you need to make some text bold , small e.t.c.

There are several tags that performs the function of making your text looks different. Let's take them one by one.

<b> tag
This makes the text bold



<p>This make the text <b>bold </>


Result


<strong> tag


<p>This make the text <strong>strong </strong></p>



Result

<I> tag : This makes the text italic






<p> This makes an <I>Italic text</I></p>

Result


<em> tag



<p>This is used to lay <em>emphasize /em></p>


Result

<mark> tag



<p>This makes <mark>highlight on a text </mark></p>



<small> tag



<p>This makes a <small>Small text</mark></p>



<sub> tag : This makes the text within it a subscript. This tag is used when you want to design a website that includes chemical equations. Like when you want to write tetraoxosulphate(VI).





<p>H<sub>2</sub>SO<sub>4</sub></p>



<sup> tag: This makes your text superscript. This is used to write mathematical equations.






<p>2x<sup>2</sup> + 2 </p>



<abbr> tag
This tag works as a tooltip. The full word will show when the cursor is placed on the abbreviated word. Try this.






<p>I love <abbr title="United Arab Emirates">UAE</abbr></p>


Contact address
The <address> tag is used to represent contact information.





<address>
14, Cornel Road <br/>
Lagos , Nigeria.
<address>







Please share





Other Tutorials











OTHER TUTORIALS


Get the latest tutorials and updates




Delivered by FeedBurner

Comments