1.3.4 Web Technologies Flashcards

1
Q

Web Programming Languages

A

HTML (Hypertext Markup Language) : Defines structure, order and content of the website.

CSS (Cascading Style Sheet) : Defines the formatting of the website, uses classes and ID’s and can be within HTML or External.

JavaScript : Allows for Interaction with the website.

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

HTML Commands Syntax (Image, Hyperlink, Ordered List, Unordered List, link CSS)

A

Link to Image :
<img></img>

Hyperlink to site :
<a> The Site </a>

Ordered List :

<ol>
<li> 1st item </li>
<li> 2nd item </li>
</ol>

Unordered list :

<ul>
<li> 1st item </li>
<li> 2nd item </li>
</ul>

Link StyleSheet :

<link></link>

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

Classes and Identifiers

A

Classes and Identifiers are Attributes given to elements to style

Classes used across multiple elements for consistent style (.)

Identifiers used uniquely for single element (#)

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

CSS Commands Syntax

A

IdentifierExample {

body {
background-color: white;
font-family: Arial;
font-size: 18px;
Text-align: center;
color : #E46CG6 }

.ClassExample {
padding: 0px; }

margin: 0px; }

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

JavaScript Commands Syntax (Alerts, writing, changing attributes)

A

alert(“Hello World”);

document.write(“Hello World”);

chosenElement = document.getElementById(“example”);
chosenElement.innerHTML = “Hello World”;

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

HTML General Syntax

A

<html>
<head>
<title> Headers </title>
</head>
<body>
<h1> (Largest header) </h1>
<h2> (Medium header) </h2>
<h3> (Smallest header) </h3>
<p> Paragraph Text </p>
</body>
</html>

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

Search engine Indexing

A

Search engine indexing : Web pages indexed so can be searched quickly by search engines to return relevant IP addresses to search.

  • Programs called Web Crawlers, traverse the web following links, take each word in document, adds entry for web page in index alongside words position on page, follows another link.
  • (Records information - text, meta-tags etc and stores in an index)
  • Spider would previously crawl whole web before indexing - pages change and not relevant when finally indexed
  • Meta tags, keywords and links to websites included in index
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

PageRank algorithm

A

Page Rank algorithm : Iterative algorithm that gives score to web pages after crawling that defines how pages are ranked and order returned to user once searched.
- Has a damping factor (value between 0 and 1 : Probability that a link is not followed to reduce effect of links that are never followed (1-d))
Affected by : Number of sites linking to target site,
- Page Rank of linking sites
(- Number of outward links from linking sites)

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

Client Side Processing

A

Client Side Processing : Data processed by client browser on local device before sent to server.
- Can use JavaScript

Advantages :
- Executes quickly - immediately responds to user action - don’t need to wait for response from server.
- More secure - data not intercepted
- Removes unnecessary processing from server

Disadvantages :
- Source code visible - can be copied (copyright)
- Source code visible - can be circumvented and modified and disabled (prevent validation)
- Not all browsers support scripts or have JavaScript enabled
- Not all browsers have correct interpreter

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

Server Side Processing

A

Server Side Processing : Data sent from browser to server, processing takes place on server and server sends back output.
- Can be in PHP

Advantages :
- Allows interaction with permanent databases
- Hides code from user - prevent copyright and circumvented
- Allows for further validation of inputs
- Prevent malicious code e.g. SQL injections

Disadvantages :
- Extra Load on server at cost of company hosting
- Less secure - data can be intercepted
- Can take more time - transmission errors or long wait times.

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

Form HTML Syntaxes

A

<form>

<input></input> Displays a single-line text input field

<input></input> Displays a radio button (for selecting one of many choices)

<input></input> Displays a checkbox (for selecting zero or more of many choices)

<input></input> Displays a submit button (for submitting the form)

<input></input> Displays a clickable button

</form>

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

Button CSS

A

<button> Content </button>

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