Saturday, June 20, 2009

BR TAG

Definition and Usage

The
tag inserts a single line break.

The
tag is an empty tag which means that it has no end tag.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The
tag is supported in all major browsers.


Differences Between HTML and XHTML

In HTML the
tag has no end tag.

In XHTML the
tag must be properly closed, like this:
.


Tips and Notes

Note: Use the
tag to insert line breaks, not to create paragraphs.


Standard Attributes

The
tag supports the following standard attributes:

AttributeValueDescriptionDTD
classclassnameSpecifies a classname for an elementSTF
ididSpecifies a unique id for an elementSTF
stylestyle_definitionSpecifies an inline style for an elementSTF
titletextSpecifies extra information about an element

No comments:

Post a Comment