The following code snippets shows the correct way to apply a_________
body { background-image: url("bg.gif"); }
What is background image?
Where would you typically find an internal stylesheet?
What is the head section?
To adjust the boldness of text, which property is most commonly used?
What is Font Awesome?
This is the backup or default font in case the browser does not support the first font choice.
What is Arial?
Given the CSS rule p { color: red; }, what does p represent?
This property is used to set the text color in CSS
What is color?
If you wanted to set a background color to an element with a CSS color value of rgb(245, 245, 220), which common color name could also be used?
What is beige?
Internal styles are written within the _____ element
What is the style element?
Which of the following is a correct way to comment out multiple lines in a HTML file?
What is <!-- -->?
This is a model that includes padding, border, margin, and content.
What is CSS box model
This property is used to specify the weight or thickness of characters in text
What is font-weight?
What would you use to link to an external stylesheet in an HTML document?
What is link rel?
This method of adding CSS directly affects a single HTML element's style attribute?
What is Inline CSS?
Which of the following is a correct way to comment out multiple lines in a CSS file?
What is /* */?
This controls the styling of elements described within the HTML document
What is CSS?
Which CSS property sets the space inside an element, between its content and its border?
What is padding?
What is the name of the CSS for the following code: <p style="color: red; background-color: green;">
What is inline?
The code below is and example of which CSS style that you link to an in an HTML document?
<link rel='stylesheet' type='text/html' href='styles.css'>
What is external stylesheet?
The following best code represents the basic structure of a________:
selector { property: value; }
What is CSS rule?
This CSS selector is used If we want to define style for a unique element.
What is id?
Which of the following properties controls the space outside the element, between it and any neighboring elements?
What is Margin?
The code below is intended to reference an _____________ ___________.
<link rel="stylesheet" href="stylesheet.css">
What is external stylesheet?
If you want to apply styles to a class named 'highlight', which of the following selectors should you use?
What is .highlight
The code below will affect which element?
#header1 {text-align: left;
color: red; }
What is header1?
If you want to style the first line of a paragraph differently from the rest, which pseudo-element would you use?
What is :first-line?