What is CSS used for?
Designing the style and colors of websites
What does HTML stand for?
Hyper Text Markup Language
Write the CSS code to make all <h1> text red
h1 { color: red }
What is the largest heading in HTML?
<h1></h1>
Which tag is used for writing paragraphs?
The <p></p> tags.
What is in between two CSS words?
Hyphen
What does CSS stand for?
Cascading Style Sheets
Which CSS property aligns a text HTML element to the centre of the page?
text-align: center;
Which HTML tags create a list?
The <ul></ul> or <ol></ol> tags.
What is the first line of every HTML document?
<!doctype html>
Where do we write CSS?
In the styles.css file or in the <style></style> tag.
What is an <img> tag?
The HTML tag used for images.
What is the difference between these CSS statement blocks?
h1 {color : red }
.heading {color : red}
h1 is an element, whilst .heading is a class
Which HTML tags create a list item?
The <li></li> tags.
Every HTML document ends with a...
</html> tag.
Which tag specifies a box/section in CSS?
The div tag
What is an HTML element?
A complete piece of HTML, including an opening tag, content, and closing tag, e.g., <p>Hello</p>.
How would you make an image 25% of its original size?
width: 25%;
height: 25%;
Which HTML tag is used for links?
The <a href></a> tags.
What tags should all of your visible content be inside?
<body></body>
Every CSS declaration ends with a...
Curly bracket
What is margin?
The amount of space that surrounds an HTML element.
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; }
Write out the correct code for inserting the image 'cat.jpg' from the images folder into a webpage.
<img src="images/cat.jpg">
What does src stand for?
Source.