w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



span ... ⁄span, display in browser

Browser display, span element


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)
span intro span parents - children span vs div span element vs span attributespan syntax