HTML Font





HTML use different type of font style and the appearance of text . if you want your text to appear in a particular style, such as bold italic, you must use HTML Font.

The B Elements :-  Displays the text in bold

The I Elements :-  Displays the text in italics.

The SMALL Elements: Displays the text in small font size

 

Displaying Bold Text: –

 

<HTML>

</HEAD>

<TITLE> Use of Font style</TITLE>

</HEAD>

<BODY>

<P>Here we will use the <B>text Element to display the text</B> Bold

</P>

</BODY>

</HTML>

Result :- 

use of bold font

 

Displaying Italic Text:-

For Italic Tag , you should use  <I>for Italic</I>.

 

<HTML>

<HEAD>

<TITLE> Italic Tag</TITLE>

</HEAD>

<BODY>

Here we can use <I>The I element to display the text.</I> tag.

</BODY>

</HTML>

Result :-

 

Html italic Tag.

 

For Small Tag. we can use small tag. <small>for small text</small>

<HTML>

<HEAD>

<TITLE> Italic Tag</TITLE>

</HEAD>

<BODY>

Here we can use <small><small>The I element to display the text.</small></small> tag.

</BODY>

</HTML>

 

 




Follow Us

Contact Us

tutorialworldin@yahoo.com

Back to Top