XHTML 1.1 Element ( Tag ) and Attribute Reference
XHTML 1.1 Reference Index > Text Module Index
The br element ( tag )
contents
br: valid parent and child elements
- valid parent elements
- a, abbr, acronym, address, b, bdo, big, button, caption, cite, code, dd, del, dfn, div, dt, em, fieldset, h1, h2, h3, h4, h5, h6, i, ins, kbd, label, legend, li, object, p, pre, q, rb, rt, samp, small, span, strong, sub, sup, td, th, tt, var
- valid child elements
- -none-
br: valid attributes
br: browser test
The following code sample:
Text String 1.<br /> Text String 2.<br /> Text String 3.<br />
appears in your browser as:
Text String 1.
Text String 2.
Text String 3.
Text String 2.
Text String 3.