sub ... ⁄sub, display in browser
Browser display, sub element
- empty sub element (start tag, end tag only): does not display in browser
- its children, phrasing content: the display depends strictly on the nested element
- its content, type text: displays inline in browser, smaller and a little below the line of text
Display type: inline
Elements inline vs block
element inline element element
element
block element
element
Video demonstration sub element, view in browser
HTML5 sub, browser display, Tutorial
min | video details |
---|---|
00:04 | testing the browser display of the sub element |
00:09 | empty sub element (start tag, end tag only, no content inside) does not display in browser |
00:17 | the content, type text, of the sub element displays in browser a little below the line of text |