Auto AdSense

Wednesday, 3 June 2015

Insert horizontal lines - HTML Programs

<html>
<body>
<p>The hr tag defines a horizontal rule:</p>
<hr><p>This is a paragraph</p>
<hr><p>This is a paragraph</p>
<hr><p>This is a paragraph</p>
</body>
</html>

Output


The hr tag defines a horizontal rule:

This is a paragraph

This is a paragraph

This is a paragraph

How to mark deleted and inserted text - HTML Programs

<html>
<body>

<p>My favorite color is <del>blue</del> <ins>red</ins>!</p>

<p>Notice that browsers will strikethrough deleted text and underline inserted text.</p>

</body>
</html>

Output

My favorite color is blue red!
Notice that browsers will strikethrough deleted text and underline inserted text.

Text direction - HTML Programs

<html>
<body>
<p>
If your browser supports bi-directional override (bdo), the next line will be written from the right to the left (rtl):
</p>

<bdo dir="rtl">
Here is some Hebrew text
</bdo>
</body>
</html>

Output



If your browser supports bi-directional override (bdo), the next line will be written from the right to the left (rtl):
Here is some Hebrew text