1.3.4 - web technologies Flashcards

(33 cards)

1
Q

HTML

A

Describes the content and structure of a web page. Uses tags.

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

CSS

A

Dictate the style and formatting of a web page. Uses selectors like classes, IDs etc. Can be placed within html or externally in a file.

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

<head>
</head>

A

Defines the browser tab or window heading area.

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

<title>
</title>

A

Defines the text that appears in the window heading area.

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

Write the html for an image, specifying the height and width.

A

<img></img>

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

html to add a link to ‘the website.com’.

A

<a> the website </a>

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

html tag for a numbered list

A

<ol>
</ol>

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

html tag for an an unordered/ bulletpointed list

A

<ul>
</ul>

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

html tag to add an item to any list

A

<li>
</li>

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

CSS to make h1 background colour blue

A

h1 { background-color: blue;}

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

where does the CSS go in a html document

A

<head>
<style>

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

CSS to make the font of an ‘intro’ class red

A

.intro { color: red;}

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

CSS to make text centered for a class ‘center’ but only for paragraphs

A

p.center{ text-align: center; }

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

html to make a paragraph belong to a ‘center’ and ‘large’ class

A

<p>
</p>

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

CSS to make background colour of an element with identifier ‘firstname’ yellow

A

firstname {background-color: yellow; }

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

2 advantages of processing input data before it is posted to a server

A

1- The local computer can validate erroneous data before submission to a database
2- A busy server is relieved from having to process everything itself.

17
Q

JavaScript to assign a variable to an element with the html identifier ‘example’

A

name = document.getElementByID (“example”)

18
Q

JavaScript to change the contents of a variable called ‘name’ to “hello world”

A

name.innerHTML = “Hello World”;

19
Q

JavaScript to write “hello world” to the document

A

document.weite (“hello world”);

20
Q

JavaScript to write hello world in an alert box

A

alert (“Hello World”);

21
Q

Web crawler/ spider

A

Constantly goes out to all the web pages currently on the index, and then goes to fetch all the sites linked to by those sites and so on until they have linked to all of nearly all web pages and resources on the internet.

22
Q

What are some features (other than Meta tags and descriptions) that affect search results?

A

1- using keywords in the title tag.
2- age of website
3- date of last update or frequency of updates
4- the number and relevancy of keywords appearing in h1 tags
5- the relevancy of the domain name to the content

23
Q

Client-side processing

A

Data is processed on the client computer rather than on the server.

24
Q

2 advantages of client side processing

A

1- to lighten load on the server’s processor
2- improves security as it can avoid unnecessary data transfer
3- adjust styles for different platforms or screen sizes

25
4 uses of server-side processing
1- provides further validation 2- used to query a database 3- performs complex calculations 4- keeps organisational data secure
26
application programming interface
A set of protocols that governs how two applications should interact with other. I sets out the format of requests and responses between a client and a server and enables one application to make use of the services of another.
27
What happens when a search engine indexes a page?
A program called a web crawler traverses the web and visits the site either by selecting it from an existing list or by following a link. Records information like text/ metatags etc. It takes each word in the document and adds an entry for the page and the position of the word on the page in the index. Follows links to other sites.
28
Explain why client-side processing might also be checked server-side?
− Client side processing can be modified − And can sometimes be disabled on the browser − To prevent malicious code (such as an SQL injection/XSS)
29
Explain one advantage to user of client-side processing?
No need to submit to server and wait for response. Website will work more quickly for user.
30
Explain one advantage to the company of using client-side processing?
Reduces load on server. Will need to spend less on bandwidth.
31
damping factor
A value between 0 and 1. Probability that a user will not follow a link.
32
page rank
● Used to find and rank website pages and then list the results in a search engine. If a website has a higher score, it will appear higher in the list of search results. ● More links from more important pages, ranks a page higher ● Stored as a weighted, directed graph o Pages are nodes o Hyperlinks are edges in one direction o Weightings are calculated by page rank
33
how to improve page rank
● Make effective use of meta tags that effectively describe the contents of the website. ● Make effective use of H1 tags using suitable headings that describes the content of the website ● Increase the number of quality of incoming links from other websites, ideally those with a high PageRank score themselves ● Increase the number of outgoing links ● Key words can be stored in meta tags, title tags or header tags (h1, h2 etc) ● Damping factor is used to quash a PageRank based on the idea that a user will only click through a certain number of links