Formatting the text
Following are some commonly used tags to format the text
ExampleFollowing are some commonly used tags to format the text
Tag | Meaning |
<p> | This tag is should be put at the every paragraph |
<br> | This is tag causes the single line breaks.Generally it is kept at the end of every line |
<pre> | This tag is used to perserve the white spaces and lines the text |
<div> | This is tag used to make division the sections in the HTML document |
<html> <head> <title> The HTML formatting </title> </head> <body> <p> once upon a time there was king who kept a monkey as a pet. The monkey served the king. </p> <div> The woman took the wood and thanked him for his kindness, but when the last stick was burned, the monkey cried out at forest. </div> <pre> Every time the newest monkey takes to the stairs, he is attacked. Most of the monkeys that are beating him have no idea why they were not permitted to climb the stairs or why they are participating in the beating of the newest monkey. </pre> </body> </html> |
once upon a time there was king who kept a monkey as a pet. The monkey served the king.
The woman took the wood and thanked him for his kindness, but when the last stick was burned, the monkey cried out at forest.
Every time the newest monkey takes to the stairs, he is attacked. Most of the monkeys that are beating him have no idea why they were not permitted to climb the stairs or why they are participating in the beating of the newest monkey. |
0 comments:
Post a Comment