1.3.4 Flashcards

1
Q

HTML

A

HyperText Markup Language - has the content and structure of the web page - used in conjunction with CSS

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

CSS

A

Cascade Style Sheets - external style sheet - decides the style/layout/appearance of the webpage applied to existing html

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

<html>
</html>

A

starts the html part of the file - all the code within it is html

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

<head>
</head>

A

contain metadata (not displayed)

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

<title>
</title>

A

page title (appears in the page tab not on the page)

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

<body>
</body>

A

the main text of the document

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

<h1>
</h1>

A

a heading

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

<h2>
</h2>

A

a sub heading

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

<h3>
</h3>

A

a sub sub heading

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

<img></img>

a picture and alternative text of …

A

add an image
e.g. <img src=….jpg alt=”picture of …”>
src is the file path
alt is the alternative text if image doesn’t load

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

<a></a>

the word TEXT has a link

A

defines a hyperlink
e.g. <a href=”https://www.website.com”>TEXT </a>
TEXT will contain the link

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

<p>
</p>

A

a paragraph

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

<ol>
</ol>

A

ordered list (numbered)

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

<ul>
</ul>

A

unordered list (bullet points)

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

<li>
</li>

A

defines each item in an ordered/unordered list

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

how to add stlye within HTML

h1 red
h2 blue dotted border
h3 arial font

A

<h1 style=”color:red;”> MAIN HEADING </h1>
<h2 style=”border-style:dotted;border-color:blue;”> SUB HEADING </h2>
<h3 style=”font-family:arial;”> SUB SUB HEADING </h3>

17
Q

how to add style in CSS

headings coloured red and background green in hex

A

h1{
color:red;
background-color:#00ff00;
}

18
Q

<link></link>

A

linking a CSS file into a HTML file

19
Q

how would you link a CSS file to a HTML file

A

<link rel=”stylesheet” type=”text/css” href=”MyCSS.css”>

20
Q

<div>
</div>

A

divide the HTML document up and apply different styles to each part

21
Q

class in CSS

A

can be used multiple times - uses a .

22
Q

define a class called intro in CSS

A

.intro {

}

23
Q

identifier in CSS

A

unique (can only be used once) - uses a #

24
Q

define an identifier of bullet pointed lists in CSS

A

BulletList {

… }
25
Q

javascript

A

the programming language for the web - can be used to modify HTML & CSS - calculate, manipulate and validate data

26
Q

<input></input>

A

gets an input from the user

27
Q

<form>
</form>

A

Form controls

28
Q
<script>

</script>
A

The JavaScript code is enclosed in these tags

29
Q

define form 1 in javasript

A

<form>
</form>

30
Q

define an input of text called forename in javascript

A

<input type=”text” id=“forename” name=” forename “>

31
Q

define an input of a button called submit in javascript

A

<input type=”submit” id=“submit” name=” submit” value=”submit”>

32
Q

search engine indexing

A

is the process of a search engine collecting, sorting and storing data in its index - use programs known as spiders or crawlers that travel the World Wide Web - They index any pages, content and metadata they find and map links between pages by following all: Internal and External links

33
Q

pagerank

A

a trademarked algorithm developed by Larry Page - helps compile and rank website pages and the list of results returned by a search engine - checking the number and quality of links to a page in order to determine roughly how important that page is - based off outbound and iInbound links - Once the final PageRank™ is achieved, the average PageRank™ of all pages will be 1.

34
Q

server side processing

A

Provides further validation
Queries and updates the server database
Encodes data into readable HTML
Keeps organisation data secure
Performs complex calculations

35
Q

client side processing

A

Initial data validation (JavaScript)
Manipulates user interface elements
Applies website styles (CSS)
Reduces load on the server
Reduces the amount of web traffic