test 2 Flashcards
HTML code and CSS code follow the same basic syntax structure
False
Style sheets are templates containing a collection of rules that assign unique styles to specific elements as well as every occurrence of that specific element
True
is a sorting system consisting of rules by which declarations are sorted out so that there are not conflicts as to which declaration is to influence the selector’s presentation
Cascading Order
What are the 4 BASIC steps that are first followed when assigning the cascading order in which styles will be applied?
Find all declaration.
Declare the style if selector matches.
No match, inherited parent prop.
None, default.
- One of the biggest advantages of using style sheets is that they are supported by all browsers so your pages will look consistent no matter which one your visitors are using to view your Web pages
True
- CSS can be set-up as one of which two general “location” types?
Internal and External
- Another name for an internal style sheet is
embedded
- Style information is written as content of which HTML element?
Style
- The style element must be located in which HTML document section?
Head
- Which TYPE attribute reference and value MUST be made in your document
when using CSS?
<tyle=”text/css”>
- Although this additional code is not as necessary as it once was, unless your embedded style code is written within HTML comment tags, it will actually be displayed on the screen when viewed with a browser that does not support CSS.
True
style is the style attached to one specific element and is applied
exclusively to this specific element occurrence (these styles must be specifically added each time they are used).
Inline
- What are the two ways that external style sheets can be brought into
a web page for use?
linking and Importing
- Separate style sheet files should be saved with what extension?
.CSS
- External style sheets should NOT contain any HTML tags like < head > or < style > – they should ONLY contain the style sheet rules.
True