HTML internet service Flashcards

(13 cards)

1
Q

what is the purpose of <head>

A

it contains metadata, script, styles

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

how do you write a paragraph in html

A

<p> this is a paragprah </p>

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

which tag creates a hyperlinks

A

<a>link text </a>

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

which tag is used for images

A

<img src = “rhul logo” alt=”description>

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

name two inline-level element

A

<div>, <p>
</p></div>

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

name two inline level element

A

<a>, <img></img></a>

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

what attribute sets image text if it cant load

A

alt

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

how do you create an ordered list

A

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

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

how to create an unordered list

A

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

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

how do you make bold text

A

<b> this text is bold </b>

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

how do you make emphasized text

A

<em> this is emphasized text </em>

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

what is an attribute

A

key value pair inside a tag that gives extra information

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

where should you place the

 tag containing JavaScript
A

inside the head <head> or at the end of the <body> for better performance

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