html, css, javascript Flashcards

1
Q

HTML

A

language or script used to describe the content and structure of webpages so that a browser is able to interpret and render it. it is usually used in conjunction with CSS

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

HTML

A

language or script used to describe the content and structure of webpages so that a browser is able to interpret and render it. it is usually used in conjunction with CSS

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

CSS

A

cascading style sheets: describes the style and formatting of a web page, controlling layout of multiple webpages at once, saving work

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

defines the whole document. any code enclosed in these tags are interpreted as HTML code

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

defines the visible, main content of page which appears in the main browser content area. Includes images, texts and hyperlinks

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

defines browser tab or window heading area, holds text to be displayed within tags and any script enriching page content

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

<h1> <h2> <h3></h3></h2></h1>

A

heading styles in decreasing size

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

<p></p>

A

paragraph separated with a line space above and below

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

<img></img>

A

self enclosed image tag with parameters <img></img>

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

<a></a>

A

anchor tag defining a hyperlink with location parameter <a> link text </a>

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

<li>
</li>

A

defines an individual list item within either a numbered or bulleted list

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

<li>
</li>

A

defines an individual list item within either a numbered or bulleted list

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

CSS

A

cascading style sheets: describes the style and formatting of a web page, controlling layout of multiple webpages at once, saving work

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

defines the whole document. any code enclosed in these tags are interpreted as HTML code

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

internal and inline CSS advantages

A
  • allows you to make one off style adjustments that are unlikely to affect any other part of the website
  • overrides global styles, enabling particular styles to be kept within the HTML doc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A

defines browser tab or window heading area, holds text to be displayed within tags and any script enriching page content

17
Q

external style sheet CSS advantages

A
  • maintains consistency across other pages in the site
  • content and formatting are kept separate
  • saves time and work as can change style sheet to change whole site
  • different stylesheets for different themes or devices
18
Q

<p></p>

A

paragraph separated with a line space above and below

19
Q

identifiers

A

eg <div>, defined in CSS as #header { }

identifiers must be unique to every webpage. apply to elements unlikely to be repeated eg <div> </div></div>

20
Q

classes

A

eg <div class="list">, defined in CSS as .list{ }
can be used multiple times on a webpage, and on different webpages. apply to elements likely to be repeated eg <p></p></div>

21
Q

<ol> </ol>

<ul></ul>

A

defines an ordered (numbered) and unordered (bulleted) list respectively

22
Q

<li>
</li>

A

defines an individual list item within either a numbered or bulleted list

23
Q

<div></div>

A

facilitates the division of a page into separate areas. they can be referred to uniquely by name and styled differently using CSS

24
Q

internal/embedded CSS

A

CSS added directly in the HTML document tags within their own tag

25
Q

inline CSS

A

CSS added directly within the HTML body

26
Q

internal and inline CSS advantages

A
  • allows you to make one off style adjustments that are unlikely to affect any other part of the website
  • enable styles to be kept within the HTML doc
27
Q

external style sheet CSS

A

a link to an external style sheet can be held on the HTML document within the and tags

28
Q

external style sheet CSS advantages

A

saves effort/coding as multiple HTML/webpage documents from the same site can link to the same stylesheet so that formatting can be applied consistently without duplicating CSS sheet

29
Q

identifier and class selectors

A

act as hooks on which you can hang styles. you can then apply these grouped styles to a HTML element eg <div> by adding the class or id name as a parameter</div>

30
Q

identifiers

A

eg <div>, defined in CSS as #header { }

identifiers must be unique to every webpage</div>

31
Q

classes

A

eg <div class="list">,, defined in CSS as .list{ }

can be used multiple times on a webpage</div>

32
Q

link tag to an external stylesheet

A