c777 - Sheet1 Flashcards
(176 cards)
The web development trifecta
HTML5, CSS, JavaScript
HTML5 tag defining the main body of a document. Cannot be the child of the header, nav, article, aside, or footer elements.
main
These elements can also be included in article, aside, nav, main, and section elements, not just on the page itself
header and footer
This element identifies the file(s) to use in a video or audio element
source
A set of standards for the writing and/or design of documents
style guide
This version of IE is the first to support HTML5
IE9
What should you do to support HTML5 elements in pre-IE9 browsers.
Add them via JS, make them block via CSS
The term for the part of CSS code that refers to the element you want to style
selector
In CSS, the term for a property and value pair. It must always end with a semicolon
declaration
In CSS, the name for a selector, property and value all grouped together
rule
The word “cascading” in CSS refers to this concept
inheritance
The cascading order of CSS style sheets, ordered from lowest priority to highest
External, embedded, inline
Linking to a CSS file requires these attributes in the link element
rel, type, href
Embedded CSS should be placed in a block defined by this element
style
Inline CSS should be placed in an attribute with this name
style
The arrangement of content elements on a page and how the space is used. Does it fall from top to bottom in stacks, or does some content float to one side or the other?
document flow
These are not used when defining inline CSS styles
curly braces
Use this CSS property to avoid having floating elements before/after another element
clear
In CSS, the “normal, or default”, position of block elements within a page
static
In CSS, positioning a block element relative to another element
relative
In CSS, this causes the element to appear to float above the document and can be positioned as needed. It is completely removed from the rest of the page flow.
absolute
In CSS, this causes the element to remain in the same position when the page is scrolled
fixed
In CSS, this causes the element to inherit its parent’s position
inherit
In the box model, this is the space between the content and the border
padding