<div id="content"> </div> <!--end of content div -->
Front
3rd part of body - Container to hold the content
Back
ID or Fragment Identifier
Front
Can only use an ID name once in any XHTML or HTML document. Duplicate ID tags will cause your page to fail validation, and can have negative effects when using JavaScript with them. Simply put, an ID is like the sticker that says "you are here" on a mall directory, and there can only ever be one of those.
Back
Selector in CSS?
Front
The selector is usually the HTML element that you are attempting to control.
Back
What does CSS stand for?
Front
Cascading Style Sheets
Back
padding-bottom
Front
Sets the bottom padding of an element
Back
/**/
Front
CSS Comment
Back
Classes
Front
Can be used to in JavaScript scripts, but unlike ID's, they can be used multiple times in the same HTML document. This separation of content from presentation is what makes sites powered by CSS more robust. Classes can not only be used more than once, but more than one can be used on an element:
<figcaption>Fig.1 - A view of the pulpit rock in Norway.</figcaption>
Back
<!--end of content div-->
Front
HTML Comment
Back
Generic Family
Front
A group of font families with a similar look (like "Serif" or "Monospace")
Back
4 parts of the body
Front
header, navigation, content, footer
Back
CSS Border Properties
Front
Allow you to specify the style and color of an element's border.
Back
Sets the height and width of a paragraph
Front
p.ex
{
height:100px;
width:100px;
}
Back
The ID Selector
Front
Used to specify a style for a single, unique element.
Back
Class Selector
Front
Used to specify a style for a group of elements. Unlike the id selector, it is most often used on several elements.
Back
inherit
Front
Specifies that the margin should be inherited from the parent element
Back
auto
Front
The browser calculates a margin. This is default.
Back
Border Individual Sides
Front
p
{
border-top-style:dotted;
border-right-style:solid;
border-bottom-style:dotted;
border-left-style:solid;
}
Back
As always you use your (X)HTML file to arrange the content, but all of the presentation (fonts, colors, background, borders, text formatting, link effects & so on...)
Front
are accomplished within a CSS.
Back
The <figcaption> tag
Front
is new in HTML5.
Back
Inheritance
Front
Physical relationship between Parent commands and Children commands
Back
<figure>
Front
Marks up a photo in a document and also contains a caption
Back
Font Family
Front
A specific font family (like "Times New Roman" or "Arial")