Web Tech Flashcards
What does Hyper Text Mark up Language do?
Describes the content of the webpage. By content we mean the text on the page, any image etc
What is the homepage of every website called
index.html
What are tags
A html document is made up of tags. Tags tell the browser what the following data is and where it should go
What is CSS
Cascading Style Sheets
-A language that defines how webpage will look.
what are the the pros and cons of embedding css
CSS can be embedded within HTML
+No need for an external file
+Can make direct changes to a particular HTML element specific to that page
-If you want to change something across many webpages it requires many changes
What are the pros and cons of having css be an external file
+A single change can affect every webpage (no copy / paste)
+HTML files are minimal
main heading
h1
Displays image
img src=”hi.jpg>
unordered bullet list
ul
ordered list
ol
list item
li
Hyper link that can be clicked on the webpage
a href =” “
set text to bold
b
set text as italics
i
set text underlined
u
new paragraph
p
What is the world wide web
Is the collection of webpages/resources/images/etc(the stuff we view in a the browser
what is the internet
an inter connected network its the infastructure
How is a search engines index maintened
by web crawlers/spiders they are software/programs that continuososly vists publicly available sites to update the websites index entry then follow any hyper links on that page
what info is a added to the index by crawlers
-URL
-When last updated / frequency of updates/size of update
-meta data
-how credible/ reliable the webpage is
what is meta data
Data / info about the web page added by a web developer (not visable to users)
What is page rank
helps the search engine rank web pages by how useful/credable they are
How is a web page rank calculated
by how many inbound links it has and the page rank of those webpages
Describe how a search engine builds it’s index
Web crawlers / spiders visit publicly available webpages, by following links.
It records info such as URL / date last modified and it’s Page rank on the index and then continues by following any further hyper links
what is the purpose of the page rank algorthm
so that webpages can listed in order of relevance
What is the purpose of the damping factor
A value between 0 and 1. it is the probability that a user will stop following links
What is a server
Usuually a powerful computer that waits for reuests from clients
what is a client
A client is a computer that is used by user, it will make requests to server
What is a peer to peer network
there is no central server. each computer can communicate and share its resources with any other computer.
what are the pros and cons of a centrally run server
+user IDs, passwords and access levels are centrally controlled
+backup is centralised and usually automated
+no access to other users files unless they are shared
what are the pros and cons of a centrally run server
+user IDs, passwords and access levels are centrally controlled
+backup is centralised and usually automated
+no access to other users’ files unless they are shared
+used in small medium and large organisations
-Can be expensive to set up and manage
What are the pros and cons of peer to peer
+files and programs are stored individual computers
+suitable for a home computer network
+cheap to set up and maintain
+ each computer on the network can act as both client and server
+Files can stored on each computer and shared (only works when the pc is on)
What are the pros and cons of client-side processing
+Allows for more interactivity by immanently responding to a user’s action
+quick execution as no communication with the server is required
+removes potentially unnecessary processing from the sever
+Data cannot be intercepted on the way to the server increasing security for the server
-scripts are processed by the client so dependent on the speed of the client
-different browsers process scripts in different ways inconsistencies for the user
What are the pros and cons of client-side processing
+Allows for more interactivity by immanently responding to a user’s action
+quick execution as no communication with the server is required
+removes potentially unnecessary processing from the sever
+Data cannot be intercepted on the way to the server increasing security for the server
-scripts are processed by the client so dependent on the speed of the client
-different browsers process scripts in different ways inconsistencies for the user
-JS can be circumvented or modified
What is API
Application program interface
allows us to add extra functionalty
when should we use client side processing
we should always aim to use client side processing to keep load of the server