span ... ⁄span, display in browser
Browser display, span element
- empty span 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 in browser
Display type: inline
Video demonstration span element, view in browser
HTML5 span, browser display, Tutorial
min | video details |
---|---|
00:05 | video tutorial: testing the browser display of the span element |
00:13 | empty (start tag, end tag only) span element: does not display in browser |
00:18 | the content, type text of the span element: displays inline in browser |
00:23 | the children of a span element and their content: the display depends on the HTML element nested inside it if b element is nested inside it → the text will display in bold if a element is nested inside it, the hyperlinked text will display by default in blue and underlined |
00:23 | e.g. u element nested inside → the text is underlined |
00:30 | e.g. del element nested inside → strikethrough text |
00:37 | e.g. small element nested inside → smaller text |
00:45 | e.g. a element nested inside → blue ⁄purple ⁄red underlined text |
01:04 | e.g. meter element nested inside → a gray horizontal bar |
01:11 | and so forth... (the display depends on the nested element and its content) |