____________________was introduced in _______ by Håkon Wium Lie Bert Bos , and W3C
Cascading Style Sheets (CSS)
1996
Before this time, web formatting was provided by use of elements , such as <b> u>, and so on. These elements are ___________ b/we should now use CSS to provide formatting</b>
deprecated
In general, CSS allows web developers to keep separate __________, __________, __________ and.
content
structure
format
Each HTML document contains:
Content
Structure
Format
Syntax can be defined in three ways
In-line
Embedded
External
Regardless of where you declare your CSS, basic CSS syntax is comprised of…
CSS allows you to manipulate numerous HTML element properties, including…
Colors
Fonts
Position
Alignment
Precedence for inline, embedded and external follows
Highest precedence:
Middle precedence:
Lowest precedence:
Highest precedence: inline
Middle precedence: embedded
Lowest precedence: external
The _______ property (foreground color) and _______________ property (background color) can be assigned:
____________ or ____________
Color
background-color
Color key or hexadecimal(RGB)
Font have 5 properties:
font-family
font-size
font-style
font-variant
font-weight
Allows you to define the type of font used for a particular element
font-family property
-
-
-Specific font-family names
-Generic font-family
-The last list value should be generic font family name
Unlike most other CSS properties, VALUES are separated by a _______ to indicate that they are alternatives
Comma
Allows you to define the size of a font used for a particular element
font-size property
FONT-SIZE can be defined as one of the following:
Absolute
Relative
Length
Percentage
CSS font-size include:
xx-small
x-small
small
medium
large
x-large
xx-large
Identical size to the current font-size of the parent element.
Relative font-size
Relative font-size has two values:
larger
smaller
Length font-size has four values:
___ and ___ refer to the computed format of current element
What values are not allowed:
pt, px, em, ex
em and ex
Negative
Percentage font-size are increased/decreased by:
What values are not allowed:
%
negative
Allows you to select between normal, italic, and oblique faces with a font family
font-style property
The font-style VALUE can be defined as one of the following:
Normal
Italic
Oblique
Allows you to control the style within a font-family.
Font-variant property
The font-variant property allows you to specify __________ within a font family
small-caps