Week 3 Flashcards
………… is also a percentage value, 0% is black, and 100% is white
Lightness
Add ………… after autoplay=1 to let your video start playing automatically (but
muted)
mute=1
With an ………….., you can change the look of an entire website by changing just one file!
external style sheet
a type selector that if you had two <p> elements that are siblings of an <h1> element, this rule would apply to both
(h1~p{})
General Sibling
An ………… can be used as the target frame for a link
iframe
Defines a set of navigation links
<nav>
</nav>
Defines a header for a document or a section
<header>
</header>
…….. is a degree on the color wheel from 0 to 360. 0 is red, 120 is green, and 240 is blue
Hue
the id selector is used to select more than one unique element!
(T/F)
False
The ………… selects all the HTML elements with the same style definitions
grouping selector
You can let your video start playing automatically when a user visits the page, by adding autoplay=……….. to the YouTube URL.
1
a type selector that targets all elements on the page
Universal selector (*)
a type selector that targets any element whose class attribute has a value of note
Class Selector (.classsname)
Each parameter (red, green, and blue) defines the intensity of the color with a
value between 0 and …………
255
In HTML, a color can be specified using hue, saturation, and lightness (……….) in the
form:
hsl(hue, saturation, lightness)
HSL
HTML has a much wider array of attributes than CSS
(T/F)
False
If you are using CSS, you do not need to write HTML tag
attributes every time
(T/F)
True
The ………. selects HTML elements with a specific class attribute
class selector
………. is a percentage value, 0% means a shade of gray, and 100% is the full color
Saturation
The ……….. element is a container for metadata (data about data)
<head>
</head>
In HTML, a color can be specified using a ………. value in the form: #rrggbb
hexadecimal
To display …………., set all color parameters to ff, like this: #ffffff
white
……… are assigned to properties
Values
Metadata is not displayed
(T/F)
True
element after any
element (but not other
elements) (h1+p{})