Sunday, January 18, 2009

The Break Tag

Dave Raggett's More Advanced Features page of his Basic HTML shows how to cause breaks before the end of a line where a break would normally occur. It goes like this:

< p >The First Family< br >
1600 Pennsylvannia Ave.< br >
Washington D.C.< br >< /p >

Note that the tag < br > does not require a matching end version of that tag (no < /br >) This tag obviously would be useful for writing addresses.

Note to reader: In order to show the HTML tags I had to put spaces between the <> symbols and what lies in between. In actual HTML coding no spaces would be there.

Labels:

0 Comments:

Post a Comment

<< Home