CSSCascading Style Sheets - is a design language intended to simplify the process of making web pages presentable, Element - An HTML element is defined by a starting tag eh <html>, Benefits of CSS include - Consistent formatting throughout a website and Changes to one style sheet will be automatically applied to all relevant pages – saving time, External CSS - A file is created .css and is linked to our .html pages., Internal CSS - The style of CSS is specified in the <head> section of the html page., Inline CSS - The style of CSS is within the html element, Selector - What HTML element <tag> you want to change the look of e.g. p, h1, ol, li etc., Property - the aspect of that tag you would like to change e.g. font-family, font-size, background-color etc., Value - what you would like to change that property to e.g. green, 12pt, helvetica etc., font-family - Changes the font of the text, font-size - Changes the size of the font, units can be in px, pt, em., color - Changes the colour of text. Colour name as well as hex codes can be used., text-align - Aligns the text either left, right or to the ‘center’, background-color - Changes the colour of background. Colour name as well as hex codes can be used., ID - to identify (ID) a particular HTML element eg #para2, A Class - used to identify a collection of HTML elements that will all share the same styling. Once an element has a class we can then target styling (CSS) to only change those elements eg .redPara, <div> - is an HTML element that we can use to DIVIDE our page up into different sections,
0%
N5 Web CSS Quiz
Share
Share
Share
by
Gw22sabbafionaa
Secondary
Computing
Web Development
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Match up
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
Open results
Copy link
QR code
Delete
Continue editing:
?