CSS
Definitions
CSS Styling
Advanced HTML
HTML
100

What is CSS used for?

Designing the style and colors of websites

100

What does HTML stand for?

Hyper Text Markup Language

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 in between two CSS words?

Hyphen

200

What does CSS stand for?

Cascading Style Sheets

200

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

text-align: center;

200

Which HTML tags create a list?

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

200

What is the first line of every HTML document?

<!doctype html>

300

Where do we write CSS?

In the styles.css file or in the <style></style> tag.

300

What is an <img> tag?

The HTML tag used for images.

300

What is the difference between these CSS statement blocks? 

h1 {color : red }

.heading {color : red}

h1 is an element, 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

Which tag specifies a box/section in CSS?

The div tag

400

What is an HTML element?

A complete piece of HTML, including an opening tag, content, and closing tag, e.g., <p>Hello</p>.

400

How would you make an image 25% of its original size?

width: 25%;

height: 25%;

400

Which HTML tag is used for links?

The <a href></a> tags.

400

What tags should all of your visible content be inside?

<body></body>

500

Every CSS declaration ends with a...

Curly bracket

500

What is margin? 

The amount of space that surrounds an HTML element.

500

Write out the correct CSS code to make all images the same size, with a blue border. 

img { width: 200px; height 200px; border: solid blue; }

500

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

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

500

What does src stand for?

Source.

M
e
n
u