HTML and CSS Flashcards
Parts of a webpage
Title, Body, Banners
How many tags does each type of content need
2 (start and end tag)
Difference between start and end tag
an end tag has a ‘/’
Can a tag go inside another tag
Yes - things such as emphasise or underlining
Where are HTML pages viewed
In a web browser such chrome
What file extension do the web pages have?
.html
What does CSS stand for
Cascading Style Sheets
What is CSS used for
Describing the style, colour and layout of a website
How many types of CSS are there
3 - Internal, inline, external
What is internal CSS
Embedded styles defined within the <style> tags in the <head> section of a single HTML file</style>
What is external CSS
Using external style sheets and linking to it from any HTML files used for other websites (stealing another wesites style)
What is Inline CSS
Styling applied to a single HTML element
What is CSS made up of
The selector - the tag which will be changed e.g. h1, p1
The deceleration - the properties that will be changed e.g the colour
Where does CSS go in a HTML page?
At the top in between the style tags
What is the <div> tag
Its used to style a section of a web page