WEEK 6 Flashcards
Any ___ takes the highest priority. It will override any rule
defined <style>...</style> tags or the rules defined in any external style
sheet file.
Inline style sheet
Any rule defined in ___ tags will override the rules defined in any external style sheet file
<style>
...</style>
Any rule defined in the ___ file takes the lowest priority, and
the rules defined in this file will be applied only when the above two rules
are not applicable.
External style sheet
You can simply put your
comments inside___
/…../
Defines a measurement as a percentage relative to another value, typically an enclosing element
%
Defines a measurement in centimeters
cm
This value defines a measurement relative to a fontʼs x-height. The x-height is determined by the height of the fontʼs lowercase letter x
ex
A relative measurement for the height of a font in em spaces. Because an em unit is equivalent to the size of a given point, if you assign a font to 12pt, each “em”unit would be 12pt; thus 2 em would be 24 pt
em
Defines a measurement in inches
in
Defines a measurement in millimeters
mm
Defines a measurement in picas. A pica is equivalent to 12pt; thus there are 6 picas per inch
pc
Defines a measurement in points. A point is defined as 1/72nd of an inch
pt
Defines a measurement in screen pixels
px
What are the format of colors in CSS?
Hex Code
Short Hex Code
RGB %
RGB absolute
keyword
A ___ is a 6 digit representation of a color. The first two digits (RR) represent
a red value, the next two are a green value (GG), and the last are the blue value
(BB). A hexadecimal value can be taken from any graphics software like Adobe
Photoshop, Jasc Paintshop Pro, or even using Advanced Paint Brush.
Hexadecimal