Year 11
Lesson details
Key learning points
- In this lesson, we will look at how we can make use of a DIV tag to apply CSS to different sections of each page on a website.
Licence
This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.
Loading...
4 Questions
Q1.
What does CSS stand for?
Colourful Style Sheets
Computer Style Sheets
Creative Style Sheets
Q2.
In the following CSS, what would be the correct term for "p"?
Property
Value
Q3.
In the following CSS, what would be the correct term for "12px" and "red"?
Property
Selector
Q4.
In the following CSS, what would be the correct term for "font-size" and "color"?
Selector
Value
3 Questions
Q1.
What is the purpose of the <div> element?
It is used to divide the page up into columns
So that you can divide numbers in calculations within webpages
So that you can divide webpages up to get multiple pages
Q2.
Which is the correct syntax for making a DIV which applies the class main?
<class div="main"> </div>
<div class:main> </div>
<div-class=main> </div>
Q3.
What is the correct syntax in CSS for making the background colour of a DIV black?
background colour: black;
color: black
div-background: black;