w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it

dl ... ⁄dl, display in browser

Browser display, dl element

Display type: block

Video demonstration dl element, view in browser

HTML5 dl, browser display, Tutorial

min video details
00:05 video tutorial: testing the browser display of the dl element
00:13 empty dl element (start tag, end tag, only) does not display in browser
00:21 non-empty dl element (dt, dd elements nested inside):
the content, type text, of the dt and dd elements displays block in browser
00:33 how much space the dl element occupies in browser
00:38 we've added a background-color to the dl element to highlight it's surface
00:47 the dl element in browser, styled
00:52 dl element displays block in browser, with 1em top and bottom margin
dl intro dl parents - children dl syntax