CSS
Definitions
CSS Styling
Advanced HTML
HTML
100

What is CSS used for?

Designing the style and colors of websites

100

All classes start with this

period 
100

Write the CSS code to make all <h1> text red

h1 { color: red }

100

What is the largest heading in HTML?

<h1></h1>

100

Which tag is used for writing paragraphs?

The <p></p> tags.

200

What is the syntax for how to edit all paragraphs to be green?

p {color:green;}

200

All ID's start with this

Hashtag / Pound Sign
200

Which CSS property aligns a text HTML element to the centre of the page?

text-align: center;

200

Which HTML tag is used for links?

The <a href></a> tags.

200

What is the first line of every HTML document?

<html>

300

Where do we write CSS for one single page?

In the<style></style> tag.

300

What does src stand for?

Source

300

What is the difference between these CSS statement blocks? 

#heading {color : red }

.heading {color : red}

# is an ID, whilst .heading is a class

300

Which HTML tags create a list item?

The <li></li> tags.

300

Every HTML document ends with a...

</html> tag.

400

In the CSS declaration--- this is the punctuation that separates the property from its value.


What is a colon (:) ? 

400

What does alt stand for?

Alternative Text


400

Write out the correct CSS code to make all images the same size of 200px. 

img { width: 200px; }

400

Which two HTML tags can create a list?

The <ul></ul> or <ol></ol> tags.

400

What tags should all of your visible content that appears on the page be inside?

<body></body>

500

If I have an internal styling sheet that says all text is red, but an external styling sheet that says all text is blue - what would appear on my page?

All text would be red because internal overrides the external. 

500

What does HTML stand for?

Hyper-Text Markup Language

500

Create a class named title that changes are text to be bolded.

.title {font-weight: bold;}

500

Create the code for a table that has 1 row and 2 columns.

<table>

<tr>

<td></td>

<td></td>

</tr>

</table>

500

Write out the correct code for inserting the image 'cat.jpg' from the images folder into a webpage.

<img src="images/cat.jpg">