HTML Formatting

How you can format text in an HTML document.

<html> <body>

<b>This is bold text </b>

<br>

<strong> This is strong text </strong>

<br>

<big> This is big text </big>

<br>

<em> This is emphasized text </em>

<br>

<i> This is italic text </i>

<br>

<small> This is small text </small>

<br>

This is contains text <sub> subscript </sub>

<br>

This is contains text <sup> superscript </sup>

</body> </html>

How to write an address in an HTML document.

<html> <body>

<address> Harendra kalra<br> f5/71<br> rohini<br> india </address>

</body> </html>

How to change the text direction.

<html> <body>

<p> This is your first paragraph.you will try becase this is very good... </p>

<bdo dir="rtl"> This is first home page. </bdo>

</body> </html>

 How to mark a text that is deleted or inserted to a document.

<html> <body>

<p> a Text <del>text1</del> <ins>text2</ins> </p>

<p>

 overstrike deleted text and underline inserted text. </p>

<p>  as a plain text. </p>

</body> </html>

Post Comment
Login to post comments