.:: Welcome To My Personal Blog ::.

Tuesday, March 8, 2011

Web designing - HTML Tutorial - 5

Paragraph Tag (<p>, </p>) :
We may need to create paragraph while designing web page. We can do it by using "<p>" tag.The starting tag will be "<p>" and the ending tag will be "</p>". If we forget to use the ending tag, the browser may display the paragraph erroneously. But fortunately, most browsers can display paragraph correctly even if we forget to use the ending tag ("</p>"). Forgetting to use the tag is not a good practice.



Comment:
We can use comments here in HTML. Comment is an explanation of what you are doing in your code. But it shouldn't be shown while showing the whole design. To use comment we need to write them in the following format (without quotes) :

"<!-- This is a Comment and this will not shown in browser -->"

Line Break:
If we want to finish a line before going to the end, we need line break. It is also known as line feed. In HTML it is done by using </br> tag. <br> is also used here.

Horizontal Line:
Sometimes we may need to use horizontal line in web pages. We can draw it by using <hr /> tag.
It's an Example




To be Continued.........

No comments:

Post a Comment

Popular Posts