Please sovle by filling in the black HTML AND CSS! To include styles in an HTML
ID: 3885798 • Letter: P
Question
Please sovle by filling in the black HTML AND CSS!
To include styles in an HTML document, you can use an external style sheet, an embedded style sheet or ____________________________ attributes on inline HTML elements.
To include a CSS file in an HTML document, you use the _______________________ element.
To specify a color in a CSS rule, you can code a/an ____________________ value in percentages or in hexidecimal numbers.
When you code a selector that selects by ______________________, the rule set applies to just one HTML element.
In the rule set that follows, the selector applies to all elements that have “red” as their ____________________________ name.
.red { color: red; }
To apply styles to all elements, you can use the ______________________ selector.
In the rule set that follows, the selector selects all paragraph elements that are ____________________________ of the element with “main” as its id.
#main p { font-size: 75%; }
If more than one rule set is applied to an element, the rule set with the selector that has the highest ______________________ is used.
Times New Roman is a font ____________________________.
A CSS ________________ specifies the HTML elements to which the specific style rule apply.
A common error is to forget the ______________ ____________ when adding a new declaration to a declaration block.
The element selector matches elements with the specified _______ names.
_________________ selectors match elements based on user behavior or meta-information about HTML elements
The <____> selector with code
{
font-weight: bold;
}
will cause all heading 1 text to be displayed with the bold font-weight attribute.
To apply multiple selectors, use a _________ to separate selectors.
The color CSS property changes the color of the __________.
Write the CSS style that floats an element to the right.
Use full correct syntax.
The _______________ property changes the horizontal alignment of text for an element.
What is the total width of an element, where the content is 150 pixels wide, the padding is 20 pixels thick, the border is 3 pixels thick, and the margin is 5 pixels thick?
______ pixels
Use numerals
What is the total height of an element, where the content is 200 pixels high, the padding and border are 5 pixels thick, and the margin is 5 pixels thick?
_______ pixels
Use numerals
With fixed positioning, scrolling __________ move the element.
The vendor prefix for Chrome, Safari and newer versions of opera is ____________.
During animation, a keyframe specified at ______ is equivalent to from.
CSS animations _____________ require JavaScript code.
Transitions execute when an element's property values are changed, unlike CSS animations that execute at ____________.
Explanation / Answer
To include styles in an HTML document, you can use an external style sheet, an embedded style sheet or __________style__________________ attributes on inline HTML elements.
To include a CSS file in an HTML document, you use the _________link______________ element.
To specify a color in a CSS rule, you can code a/an __________RGB__________ value in percentages or in hexidecimal numbers.
When you code a selector that selects by _______id_______________, the rule set applies to just one HTML element.
In the rule set that follows, the selector applies to all elements that have “red” as their ____________class________________ name.
.red { color: red; }
To apply styles to all elements, you can use the __________universal____________ selector.
In the rule set that follows, the selector selects all paragraph elements that are _________descendants___________________ of the element with “main” as its id.
#main p { font-size: 75%; }
If more than one rule set is applied to an element, the rule set with the selector that has the highest __________specificity____________ is used.
Times New Roman is a font ___________family_________________.
A CSS _____selector__________ specifies the HTML elements to which the specific style rule apply.
A common error is to forget the ______________ semi-colon____________ when adding a new declaration to a declaration block.
The element selector matches elements with the specified ___element____ names.
________ Pseudo-classes _________ selectors match elements based on user behavior or meta-information about HTML elements
The <_h1___> selector with code
{
font-weight: bold;
}
will cause all heading 1 text to be displayed with the bold font-weight attribute.
To apply multiple selectors, use a _____comma____ to separate selectors.
The color CSS property changes the color of the ____text______.
Write the CSS style that floats an element to the right.
img{
float:right;
}
Use full correct syntax.
The _______text-align________ property changes the horizontal alignment of text for an element.
What is the total width of an element, where the content is 150 pixels wide, the padding is 20 pixels thick, the border is 3 pixels thick, and the margin is 5 pixels thick?
___150___ pixels
Explanation:
The width does not include borders, padding or margins.
Use numerals
What is the total height of an element, where the content is 200 pixels high, the padding and border are 5 pixels thick, and the margin is 5 pixels thick?
___200____ pixels
Explanation:
The height does not include borders, padding or margins.
Use numerals
With fixed positioning, scrolling _____does not_____ move the element.
The vendor prefix for Chrome, Safari and newer versions of opera is ______Webkit______.
During animation, a keyframe specified at_____ 100%and 0% which____ is equivalent to from.
CSS animations _____do not________ require JavaScript code.
Transitions execute when an element's property values are changed, unlike CSS animations that execute at _____the loading of the page_______.