Web technologies Flashcards
what layer does HTML interact with
structural layer
tells the browser how the image and text should be structured
what type of language is CSS
markup language
what layer does CSS interact with
the presentation language
tells browser how to present the text and images (font,font size etc)
what are the three ways to instert a CSS stylesheet
External
Internal
Inline
how is an inline CSS style sheet inserted
<(tag your styling) style = ‘color:blue’ >
how is an internal CSS style sheet inserted
<style>
CSS code</style>
define an bullet pointed list in html
<ul>
<li>value 1</li>
<li>value 2</li>
</ul>
define javascript [2]
A programming languages that runs in web browser
can be embedded into HTML
adds interacticity to a page
why does Java script use interpreters and not compilers [2]
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
why use a style sheet over internal CSS [3]
keeps content and formatting seperate
saves time because changing the style sheet affects the whole site
saves time
ensures consistency
how to make text italic in html
<em> insert text </em>
why is it important that input is checked both sides of the processing
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
what is the damping factor in the page rank algorithm
a value between 0 and 1
the probability that someone doesnt click a link
what affects a webpages page rank
incoming links
outbound links from the incoming links
page rank of the pages of incoming links
what does document.getelementbyID(‘insert valid ID name’) do
returns the data in the id
so if <p id = 'blablabla'>Hello world<p>
document.getelementbyID(blablabla) would return hello world