1.3.4 Web Technologies Flashcards

1
Q

HTML

A

Hyper Text Markup Language

The script used to write web pages, interpreted and rendered by a browser

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

What do HTML elements consist of?

A

Start and end tags …

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

Beginning and ending a HTML document

A

Use < html > and < /html > to start and end

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

HTML headers

A
<h1> text </h1>
<h2> text </h2>
<h3> text </h3>
...
Decrease in order of importance and size without style changes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HTML text

A

<p> text </p>

  • a new line won’t start without a new <p></p>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

HTML images

A

Open image tag
src = “filename.filetype” width=“x” height=“y”
Close image tag

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

HTML hyperlinks

A

<a> text </a>

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

HTML lists

A

<ol> and </ol>

start and end an ordered list (1.,2.,3.)

<ul> and </ul>

start and end an unordered list

<li> text and </li>

for each list item, a new line for each

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

CSS

A

Cascading style sheets

Describe how HTML styles are displayed

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

Using CSS in HTML

A

Either use inside a < link >tag or use externally to reuse

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

Using CSS

A

style = “property : type used ; property : type used;…

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

CSS colours

A

Use color : colour;

Can use #hex/names for colour

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

CSS borders

A

border-style : border type;

border-color : border colour;

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

CSS fonts

A

font-family : font : font type: broader font type;

If the first font cannot be used it is passed down

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

CSS external

A
section
{
property : type used
property : type used
}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

CSS creating classes

A
.classname
{
property : type used
property : type used
...
}
17
Q

CSS using classes

A

<div></div>

18
Q

ID CSS

A
#ID
{
property : type used
property : type used
...
}
Call with id = "IDname" at the start of the corresponding section
19
Q

Linking CSS

A

link ret=“cssfilename” type=“text/css” href=“file name.css”

Enclosed in <>

20
Q

What is javascript?

A

An interpreted scripting language used to code the functionality of web pages
Interpreted so it can run on multiple platforms

21
Q

Javascript text box

A

input type=”text” id =”…” name = “…”

Enclosed in <>

22
Q

Javascript button

A

input type=”submit” id =”…” name = “…”

Enclosed in <>

23
Q

Javascript setting a button to run a function when clicked

A

button onclick=”functionname()

Enclosed in <>

24
Q

Using javascript code in HTML

A

Enclose in < > tags

25
Q

Javascript major difference to java

A

var is used instead of specific variable types

26
Q

Changing contents of a HTML element with javascript

A

chosen element=getElementById(“…”). etc

27
Q

Javascript alert

A

alert(“text to display”)

28
Q

Javascript id vs class

A

You can have multiple classes but only one ID

29
Q

HTML div tags

A

Divide a page into areas