header ... ⁄header, display in browser
Browser display, header element
header element acts like a container:
- empty container, empty header element (start tag, end tag only): does not display in browser
- its children, flow content: the display depends strictly on the nested element
- its content, type text: displays block in browser
Display type: block
Video demonstration header element, view in browser
HTML5 header, browser display, Tutorial
min | video details |
---|---|
00:01 | video tutorial: testing the browser display of the header element |
00:08 | empty header element (start tag, end tag, only) does not display in browser |
00:13 | the content, type text, of the header element displays block in browser |
00:22 | its children, flow content (h1,p -in this case): the display depends strictly on the nested element |
00:29 | inspecting the element |
00:35 | the header element displays block ( = each header element on a distinct line) |