HTML Formatting

41 views

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>



« HTML Tag Attributes HTML Links »
Posted on Wednesday, June 18th, 2008 at 1:10 pm under HTML for Beginners | RSS 2.0 Feed

Post Comment

You must be logged in to post a comment.



ComputerEducationWorld.com All Rights Reserved © RSS | CBSE | Education Boards Of India | What is My IP?