KS3 Computing · A web page is text written in HTML (what's on the page), styled with CSS (how it looks), sometimes with JavaScript (what it does). Your browser fetches it from a web server using a URL and HTTP.
Networks and Digital CommunicationCambridge Lower Secondary Computing 0860
You will learn to
Explain the three parts of a CSS rule: selector, property and value.
Link a style.css file to a page with a link tag in the head.
Use CSS to change the colour, font and size of text.
Predict what a rule will change before you refresh the page.
Success criteria
I can point to the selector, the property and the value in a CSS rule.
I can change the colour and font of my headings from one stylesheet.
I can predict what a rule will change, then refresh to check.
I can explain why one stylesheet can style many pages.
Key words
Say each word, then read what it means. Every one is in the glossary too.
CSS
Language that styles how web pages look.
URL
The full web address of something online.
Protocol
A set of agreed rules for communication.
HTML
Markup language for the content of web pages.
The explanation
Read it here, or open the study page below to go one step at a time with things to try.
CSS: the look
CSS says how elements look. One file can style a whole site.
h1 {
color: #C0392B;
text-align: center;
}
Selector: which elements (h1).
Property: what to change (color).
Value: what to change it to (#C0392B, a brick red in hex RGB).