What is CSS used for?
Designing the style and colors of websites
All classes start with this
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 the syntax for how to edit all paragraphs to be green?
p {color:green;}
All ID's start with this
Which CSS property aligns a text HTML element to the centre of the page?
text-align: center;
Which HTML tag is used for links?
The <a href></a> tags.
What is the first line of every HTML document?
<html>
Where do we write CSS for one single page?
In the<style></style> tag.
What does src stand for?
Source
What is the difference between these CSS statement blocks?
#heading {color : red }
.heading {color : red}
# is an ID, whilst .heading is a class
Which HTML tags create a list item?
The <li></li> tags.
Every HTML document ends with a...
</html> tag.
In the CSS declaration--- this is the punctuation that separates the property from its value.
What is a colon (:) ?
What does alt stand for?
Alternative Text
Write out the correct CSS code to make all images the same size of 200px.
img { width: 200px; }
Which two HTML tags can create a list?
The <ul></ul> or <ol></ol> tags.
What tags should all of your visible content that appears on the page be inside?
<body></body>
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.
What does HTML stand for?
Hyper-Text Markup Language
Create a class named title that changes are text to be bolded.
.title {font-weight: bold;}
Create the code for a table that has 1 row and 2 columns.
<table>
<tr>
<td></td>
<td></td>
</tr>
</table>
Write out the correct code for inserting the image 'cat.jpg' from the images folder into a webpage.
<img src="images/cat.jpg">