HTML and CSS Flashcards

1
Q

Parts of a webpage

A

Title, Body, Banners

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How many tags does each type of content need

A

2 (start and end tag)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Difference between start and end tag

A

an end tag has a ‘/’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Can a tag go inside another tag

A

Yes - things such as emphasise or underlining

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where are HTML pages viewed

A

In a web browser such chrome

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What file extension do the web pages have?

A

.html

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does CSS stand for

A

Cascading Style Sheets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is CSS used for

A

Describing the style, colour and layout of a website

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How many types of CSS are there

A

3 - Internal, inline, external

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is internal CSS

A

Embedded styles defined within the <style> tags in the <head> section of a single HTML file</style>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is external CSS

A

Using external style sheets and linking to it from any HTML files used for other websites (stealing another wesites style)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Inline CSS

A

Styling applied to a single HTML element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is CSS made up of

A

The selector - the tag which will be changed e.g. h1, p1
The deceleration - the properties that will be changed e.g the colour

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where does CSS go in a HTML page?

A

At the top in between the style tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the <div> tag

A

Its used to style a section of a web page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the difference between the padding and the margin

A

Padding - gap between content and the inside of the border
Margin - gap between the outside of the border and any other content

17
Q

When a web page has a responsive design it does what?

A

It automatically adjusts to fit size

18
Q

what is the <a> tag used for</a>

A

external links

19
Q

What file ending must an image be

A

a PNG or JPG otherwise convert it