Friday, April 4, 2008

Line Break & Comment in HTML

Line Break:
The "br" tag is used when you want to break a line, but don't want to start a new paragraph. The "br" tag forces a line break wherever you place it. Like -
Comment in HTML:
The comment tag is used to insert a comment in the HTML source code. A comment will be ignored by the browser. You can use comments to explain your code, which can help you when you edit the source code at a later date.

Note that you need an exclamation point after the opening bracket, but not before the closing bracket.

No comments: