samp ... ⁄samp, display in browser
Browser display, samp element
- empty samp 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 browser, in monospace font
Display type: inline
Video demonstration samp element, view in browser
HTML5 samp, browser display, Tutorial
min | video details |
---|---|
00:04 | video tutorial: testing the browser display of the samp element |
00:11 | empty samp element (start tag, end tag, only) does not display in browser |
00:16 | the content, type text, of the samp element displays in browser in monospace font |
00:19 | text outside samp element to highlight the difference of fonts |