br, display in browser
Browser display, br element
- br element is a void element (has no content): nothing to display in browser
- br element produces the next result in browser's window: pushes the text ⁄content that comes after it on the next line
Video demonstration br element, view in browser
HTML5 br, browser display, Tutorial
min | video details |
---|---|
00:06 | br element: display in browser |
00:13 | note: there's an image and a paragraph displaying in browser |
00:20 | adding the <br> tag between the 2 words inside p element |
00:26 | refreshing the page in browser |
00:26 | please note: the 2nd word, x, word that comes after <br> tag, has been pushed on the next line |
00:31 | br element does not display in browser: we cannot see it between the 2 words: test, x but it pushed the x text on the next line |