HTML test1 Flashcards

1
Q

HTML stands for

A

Hyper Text Markup Language

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

The ________declaration defines that this document is an HTML5 document

All HTML documents must start with a document type declaration: _________

It must only appear once, at the top of the page (before any HTML tags).

A

<!DOCTYPE html>

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

The _______ element is the root element of an HTML page

A

<html>
</html>

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

the __________ element contains meta information about the HTML page

A

< head >

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

The _______ element specifies a title for the HTML page (which is shown in the browser’s title bar or in the page’s tab)

A

< title >

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

The ___element defines the document’s body, and is a container for all the visible contents

The visible part of the HTML document

A

<body>
</body>

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

The ____ element defines a large heading

____defines the most important heading. ____ defines the least important heading:

A

<h1>

<h1>
<h6>
</h6></h1></h1>

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

The ____ element defines a paragraph

A

<p>
</p>

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

HTML links are defined with the _____ tag:

A

<a></a>

<a>This is a link</a>

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

HTML images are defined with the ____tag.

The source file ___, alternative text (____), width, and height are provided as attributes:

A

<img></img>

(src), (alt

ex:
< img src=”img_girl.jpg”>

< img src=”img_girl.jpg” width=”500” height=”600”>

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

The required ___ attribute for the <img></img> tag specifies an alternate text for an image, if the image for some reason cannot be displayed. This can be due to a slow connection, or an error in the src attribute, or if the user uses a screen reader.

A

alt

< img src=”img_girl.jpg” alt=”Girl with a jacket”>

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

The _____ tag defines a line break, and is an empty element without a closing tag:

A

< br >

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

The ___ attribute defines some extra information about an element.

The value of the title attribute will be displayed as a tooltip when you mouse over the element:

A

title

< p title=”I’m a tooltip”>This is a paragraph.< /p>

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

The ____ attribute is used to add styles to an element, such as color, font, size, and more

A

style

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