HTML, CSS and JavaScript(1.3.4 a) Flashcards

1
Q

HTML file

A

made of tags
started with <TagName> and ended with </TagName>
every file must have a <html> tag and a <body> tag

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

What defines that the file is a HTML file?

A

<html>
</html>

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

What defines where a html document is (and there what tags to display)?

A

<body>
</body>

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

HTML heading tags

A

<h1> to <h6>
</h6></h1>

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

HTML paragraph tags

A

<p>
</p>

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

HTML link tags

A

< a href = ResourceLocation>

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

HTML image tags

A

<img></img>

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

HTML unordered list tags

A

<ul>
</ul>

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

HTML ordered list tags

A

<ol>
</ol>

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

HTML list items tags

A

<li>
</li>

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

What does CSS stand for?

A

Cascading Style Sheet

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

What does CSS do?

A

controls style of a web page handling formatting of sections of the web page
no control over the content or functionality of a web page

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

CSS options

A

font family
color
border color
font size
background color
border width
height
border style
width

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

What is CSS syntax?

A

a list of CSS options each seperated by a semi colon (;)
to set the value for each option we use a colon(:)

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

What is inline CSS?

A

CSS can be written directly into a HTML tag

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

Inline CSS

A

use style = to signify the start of CSS
goes inside the opening tag of an element you want to apply the style to
put quotation marks around the CSS

<h1>hello</h1>

17
Q

What are CSS external style sheets?

A

define styles throughout a website

18
Q

CSS External style sheet

A

allows us to ensure taht formatting is consistent across the whole website while also saving time as less code is repeated
link using link tag

<link></link>

rel = i swhat sort of thing we are linking
href = is the location of what we are linking
goes in head section of the HTML

19
Q

CSS classes

A

can create a class of HTML objects which can have a style applied to them
allows us to apply a predefined style to specific objects within a HTML document without having to retype the CSS code
allows us to apply the same style to multiple elements
.mint{} the . makes the a CSS class

20
Q

CSS ID selectors

A

work in a similar way to CSS classes
however only specify the format for one HTML element useful for when we need to make a specific element stand out on a web page
#melon{} the # makes this a CSS ID