1/20
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
<html>
All code written under this tag is in html
<body>
Defines the pages main text content
<link>
Links external files to the html e.g. CSS
<head>
Defines the title for the web page
<p>
Defines paragraphs
<img>
Used for images —> needs the parameters: src width: x, height: y
<ol>
Defines an ordered list which comes numerically or alphabetically
<ul>
Defines an unordered list which comes in bullet point form
<a>
Defines a hyperlink to a location —> href = “x”
<div>
Groups elements together to structure the web page
<script>
Embeds JavaScript into the html file
CSS
Cascading Style Sheet - language used to style the contents of an html file for a web page
2 forms of CSS
Internal / embedded - CSS used in the html file under the <style> tag
External - An external CSS file that is linked to the html file (<link>)
JavaScript
Programming language that adds interactivity to a web page
Advantages of JavaScript
Eases the load on busy servers
Can deal with invalid data before being sent to servers (client-side processing)
Reduces web traffic
Search engine indexing
Search engines are programs that search through databases of internet addresses for the client
Web crawlers (spiders) collect information e.g. metadata from pages and add them to the index
The crawlers travel through links on the pages
PageRank algorithm
Determines the order websites are displayed to the user from a user’s search
2 factors which determine PageRank?
How many links from other pages
The page rank of these links
Damping factor
Represents the probability that the user will keep clicking links
Usually set to 0.85
Server side processing
When a client sends data to a server usually via SQL
More secure
Can do large calculations
Not browser dependent
Client side processing
When a client processes information on a local device e.g. JavaScript
Immediate response from web page
Gives developers more control of the look of the web page