Web technologies Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what layer does HTML interact with

A

structural layer
tells the browser how the image and text should be structured

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

what type of language is CSS

A

markup language

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

what layer does CSS interact with

A

the presentation language
tells browser how to present the text and images (font,font size etc)

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

what are the three ways to instert a CSS stylesheet

A

External
Internal
Inline

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

how is an inline CSS style sheet inserted

A

<(tag your styling) style = ‘color:blue’ >

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

how is an internal CSS style sheet inserted

A

<style>

CSS code
</style>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

define an bullet pointed list in html

A

<ul>
<li>value 1</li>
<li>value 2</li>
</ul>

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

define javascript [2]

A

A programming languages that runs in web browser
can be embedded into HTML
adds interacticity to a page

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

why does Java script use interpreters and not compilers [2]

A

because java has to run on a variety of machines.
different processors
compiled code in machine dependent because of the exe file
interpreters high level language
so machine independent

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

why use a style sheet over internal CSS [3]

A

keeps content and formatting seperate
saves time because changing the style sheet affects the whole site
saves time
ensures consistency

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

how to make text italic in html

A

<em> insert text </em>

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

why is it important that input is checked both sides of the processing

A

client side is important because reduces load on the server
javascript is easially circumvented
must be checked server side to make sure not been ammended or circumvented

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

what is the damping factor in the page rank algorithm

A

a value between 0 and 1

the probability that someone doesnt click a link

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

what affects a webpages page rank

A

incoming links
outbound links from the incoming links
page rank of the pages of incoming links

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

what does document.getelementbyID(‘insert valid ID name’) do

A

returns the data in the id
so if <p id = 'blablabla'>Hello world<p>

document.getelementbyID(blablabla) would return hello world

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