Web Design Quiz
How do you insert a comment in a CSS file?
/* this is a comment */
What does the ID selector do?
Apply the style to a specific element
What does CSS stand for?
Cascading Style Sheets
What does HTML stand for?
Hypertext Markup Language
Where in the HTML document is the correct place to refer to an external style sheet?
In the <head> section
Who is making the Web standards?
World Wide Web Consortium
How do you display hyperlinks without an underline?
a {text-decoration:none}
The attributes of the <img> tag that displays alternate text for the image?
alt
The page title is inside the____tag.
body
Which is the correct CSS syntax?
body {color: black;}
What to use when applying a style to multiple elements?
class
What of the following does CSS not do?
content
From the inside out, what of the following portrays the correct order of a box model?
content, padding, border, margin
What method is ideal for applying the same style to an entire website?
external CSS
You can use the same class on multiple elements (T or F)
false
The correct HTML tag for the largest heading
h1
How do you make a list that lists its items with squares?
list-style-type: square
What is the difference between margins and padding?
padding adds whitespace inside the border and margins add whitespace outside
"a:hover" and "a:active" are both examples of what?
pseudo-classes
In what form are style rules presented?
selector { property: value }
What HTML attribute is used to define inline styles?
style
What property applies a color to text?
text-color
Each element can have only one ID and Each page can have only one element with that ID (T or F)
true
How can you open a link in a new browser window?
<a href="url" target="_blank">
The correct HTML for creating a hyperlink?
<ahref="http://www.w3schools.com">W3Schools</a>
What is the correct HTML for inserting an image?
<img src="image.gif" alt="my picture"/>
How can you make a list that lists the items with numbers?
<li>
HTML tag used to define an internal style sheet?
<style>