w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it

p ... ⁄p, display in browser

Browser display, p element

Display type: block

Video demonstration p element, view in browser

HTML5 p, browser display, Tutorial

min video details
00:05 video tutorial: testing the browser display of the p element
00:13 empty p element (start tag, end tag, only) does not display in browser
00:18 its content, type text, displays in browser
00:26 each paragraph displays block (= each one starts on a new line) in browser with 1em top and bottom margin
00:39 its children, phrasing content: the display depends strictly on the nested element :
e.g. b will display its content type text in bold
00:49 e.g. a will display its content, type text, in blue and underlined
00:59 e.g. del will display strikethrough text
01:09 and so forth...
p intro p parents - children p syntax