style ... ⁄style, display in browser
Browser display, style element
- empty style element (start tag, end tag only): does not display in browser
- its content, CSS rules: applied on html elements that display in browser's window → styled HTML5 elements
Display: none
Video demonstration style element, view in browser
HTML5 style, browser display, Tutorial
min | video details |
---|---|
00:17 | empty style element (start tag, end tag) does not display in browser |
00:26 | the contained CSS rules apply to html elements, producing visual effects which display in browser's window |
00:30 | the background-color changed from white to dark green, and on mouse over changes again to a lighter green |
00:33 | also, when hovering our mouse over the image, there's a border displaying and the background-color of the image become white |