Allows a browser to interpret and render a webpage for the viewer
Does this by describing the structure and order of the webpage
Two sections of webpage, head (contains title) and body (contains content)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
HTML Tags
A
Refer to image in word doc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
Example HTML
A
Refer to images in word doc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
Other HTML tags
A
Paragraphs (<p>), defines a paragraph separated with a line space above and below
<p> This is how a p tag looks like </p>
Images (<img></img>), is a self-closing tag (No need for </img>) used for images, following parameters must be included src (source), height=x, width=y
Each section of CSS begins with name of class/identifier or element to be styled
Followed by set of curly brackets where attributes of the element are defined
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
JavaScript
A
Scripting language, primarily adds interactivity to websites, interpreted not complied
Web pages interpreted by browser each time web page is loaded, independent of processor which it is being loaded by (JavaScript interpreter must be installed on browser)
Can be separate (JavaScript file) or within HTML document
Used to validate input data on client computer
JavaScript can add textboxes, drop down menus, buttons etc to the webpage (interactivity)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
Advantages of JavaScript
A
Local computer can deal with invalid data before sending to server
Eases load on a busy server, reduces web traffic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
Search Engines and PageRank Algorithm
A
Searches through data base of internet addresses looking for resources based on criteria set by client
Rely on index of web pages, web crawlers collect keywords and phrases from web page, collect meta data info separated by website owner
PageRank algorithm ranks each web page, higher ranked show up first on search engine
Voting- Inbound links page has, each link = vote determines rank
Weighting- Votes may have greater weight more inbound links greater weight of vote
Damping- Unlikely user continues, probability user continues clicking links
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
Server-side Vs Client-side processing
A
Server side- Client sends data to server for it to be processed, no info processed on client computer, SQL or PHP common server-side scripting languages, does not require plugins, perform large calculations faster, not browser dependent, more secure compared to client-side processing
Client side- Client processes data on local device, info processed client computer, uses language such as JavaScript, webpage immediately responds to users’ actions, execute quickly, gives developers more control over behaviour and look of website