figure ... ⁄figure, display in browser
Browser display, figure element
- empty figure 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, with 1em top and bottom margin and a 40px left and right margin
Display type: block
Video demonstration figure element, view in browser
HTML5 figure, browser display, Tutorial
min | video details |
---|---|
00:05 | video tutorial: testing the browser display of the figure element |
00:13 | empty figure element (start tag, end tag, only) does not display in browser |
00:40 | non-empty figure element displays block in browser |
00:44 | with a 40px left and right margin |
00:51 | and with a 1em top and bottom margin |