HTML
CSS
CSS Theories
Miscellaneous
Sample Code
100

What does HTML stand for?

HyperText Markup Language

100
What is the symbol that represents a CSS class?

. (dot)

100

Which CSS theory states when there are two rules both using the same selector and the same property the one farther down the list will win?

Cascade

100

What is the tag used to represent a numbered list?

<ol>

100

What color will the main paragraph text be in the following example?

body p { font-size: 20pt; color: red; }
body p { font-size: 14pt; font-weight: normal; }
.boldly p { font-style: italic; color: blue; font-weight: bold; }

Red

200

Elements that create objects, apply formatting, identify content, & generate interactivity are what?

Tags

200

What symbol represents a CSS id?

# (hash)

200

Which CSS theory states when you define a rule for a parent it gets passed down to its children?

Inheritance

200

What is the tag that represents a hyperlink?

<a>

200

What is the HTML tag for a line break?

<br>

300

What category of tags stands alone and forces other elements onto a new line?

Block Elements

300

What are the two main benefits of CSS? (Explain your answer.)

Consistency & Efficiency

300

What CSS theory defines a selector by the parent-child relationship of the element you want to style?

Descendant

300

What is the proper way to write a closing body tag?

</body>

300

What is the proper way of writing a CSS rule for paragraph text you want to be 12pt and purple?

p { font-size: 12pt; color: purple; }

400

What category of tags perform their duties within the flow of another tag?


Inline Elements

400

What is the combination of a CSS property and its value called?

Declaration

400

What CSS theory states that the most precise rule will be the one that gets applied?

Specificity

400

What is the following an example of: ® 

HTML Entity (registered trademark)

400

How would you write the code for a bulleted list with 3 items in it?

<ul>
<li>...</li>
<li>...</li>
<li>...</li>
</ul>

500

What category of tags does its work in the background out of sight of the user?

Structural Elements

500

What are the three parts of a CSS rule?

selector { property: value; }

500

What CSS theory is represented by the following code: article h2 { font-family: Arial; font-size: 24pt; color: #999; color: green; } 

Descendant
500

What three things can define the characteristics of HTML tags?

HTML Defaults, Inline Styles, & CSS

500

What is the proper way to write a comment tag?

<!-- ... -->

M
e
n
u