Chp 6 - Web Development & Design Foundations with HTML 5
*
CSS universal selector
clear: both;
clears all floats that are within a container
clear: right;
clears float on the right side of an element. Negates float: right;
fixed positioning
configure an element to remain the same and not move even if the web pages is scrolled
list-style-type: none
hides the list markers
margin
is always transparent when using the box model
pseudo-class selectors
link, visited, hover, active (LoVe, HAte)
The box model consists of content area surrounded by:
padding, border, margin
The default value for the border property of an element
0 px
T/F: wrapper is a HTML5 elemet
False
list-style-image
Specifies an image as the list-item marker
float:left;
appear on the left and other content will appear to it's right
float:right;
appear on the right and other content will appear to it's left
/* comment */
correct syntax for a CSS comment
parent descendant {
correct syntax for configuring descendant elements
Normal flow
displays the elements on the page in the order they appear in the web page source code
relative positioning
slightly change the location of an element in relation to where it would otherwise appear
padding
the area between the content and the border. Listed top, right, bottom, left
article
used to configure an area on a page that can stand on its own and could be syndicated
id
used to style a single element on a webpage
class
used to style one or more similar elements on a web page
position: absolute
used with properties left, right and/or top to precisely position an element relative to the nearest positioned ancestor