
The Preformatted, Break Line and Horizontal Rular tags :
<PRE> Tag :
Preformatted text or <PRE> is used to display a block of Preformatted text in a mono spaced fixed font. i.e to display a block of text as it is including all the blank space & the new line characters. One of the primary uses of <PRE> is to display the text in tabular format.
Programe :

Output :

The <BR> Tag :
The <BR> tag is used to break a line of continuous text and prevents text alignment around images.
E.g. THIS IS TESTING<BR>FOR BREAK LINE<BR>TAGS.
Output :
THIS IS TESTING
FOR BREAK LINE
TAGS
The <HR> Tag :
The <HR> tag is used to draw horizontal line (rules) in you document.
Attribute : ALIGN, NOSHADE, WIDTH, COLOR, SIZE
- ALIGN : It can have left/right/centre values. It gives horizontal alignment of the rule.
- WIDTH : It gives length to line in terms of pixel or percentage.
- NOSHADE : It removes the shade from the line.
- COLOR : Set the color to the line.
- SIZE : It specify the thickness of the line.
Special Characters in HTML :
| Symbol | Mnemonic | Description |
|---|---|---|
&nbps; | Non-breaking space | |
| © | © | Copyright Sign |
| ® | ® | Registered mark |
| " | &dbquo; | Double Quote |
| > | > | greater than sign |
| < | < | less than sign |

No comments:
Post a Comment
If you have any doubts regarding this please comment or email us.