HTML CSS examples for HTML Tag:br
br element can create breaks for text. The br element introduces a line break.
It moves subsequent content onto a new line.
The br Element summary
Item | Value |
---|---|
Element | br |
Local Attributes | None |
Contents | N/A |
Tag Style | Void |
New in HTML5 | No |
Changes in HTML5 | No |
Style Convention | Display subsequent content on a new line |
Using the br Element
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> This is a poem. <br> Hi,<!-- w w w. j a va 2 s .co m--> <br> a, <br> CSS. </body> </html>