1.3.4 Flashcards

(35 cards)

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
javascript
the programming language for the web - can be used to modify HTML & CSS - calculate, manipulate and validate data
26
gets an input from the user
27
Form controls
28