HTML 1 Flashcards

(40 cards)

1
Q

What does HTML stand for?

A

Hyper text markup language

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

What is the purpose of HTML?

A

Standard markup language for creating webpages

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

What does HTML describe?

A

The structure of a webpage

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

What are the components of HTML?

A

Consists of a series of elements

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

What do HTML elements do?

A

Tell the browser how to display the content

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

What is the document type declaration in HTML?

A

<!DOCTYPE html>

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

What tags define the beginning and end of an HTML document?

A

<html> and </html>

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

What tags encompass the visible part of an HTML document?

A

<body> and </body>

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

What are headings defined with?

A

<h1> to <h6> tags
</h6></h1>

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

Which heading tag is the most important?

A

H1

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

Which heading tag is the least important?

A

H6

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

What tag is used to define a paragraph in HTML?

A

<p> tag
</p>

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

What tag defines a hyperlink in HTML?

A

<a> tag</a>

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

What attribute specifies a link’s destination?

A

href attribute

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

How is an image defined in HTML?

A

<img></img> tag

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

What attributes are provided for images in HTML?

A

Source file, alternative text, width and height

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

What is an HTML element?

A

Everything from the start tag to the end tag

18
Q

What are nested HTML elements?

A

Elements that contain other elements

19
Q

What defines an empty HTML element?

A

HTML elements with no content

20
Q

What is an example of an empty HTML element?

21
Q

What is the case sensitivity rule for HTML tags?

A

Tags are not case sensitive

22
Q

What do all HTML elements have?

23
Q

What do attributes provide in HTML?

A

Additional information about elements

24
Q

What is the purpose of the href attribute?

A

Specifies the URL of the page that the link goes to

25
What does the src attribute do?
Specifies the path to the image to be displayed
26
What are the two ways to specify a URL in the src attribute?
* Absolute URL * Relative URL
27
What do the width and height attributes specify?
The width and height of the image
28
What does the alt attribute specify?
An alternate text for an image
29
How do headings in HTML range?
From h1 to h6 tags
30
What does the p element define?
A paragraph
31
What does the hr tag define?
A thematic break in an HTML page
32
What is the purpose of the br element?
Defines a line break
33
What does the pre element define?
Preformatted text
34
What does the target attribute specify for links?
Where to open the linked document
35
What are the possible values for the target attribute?
* Self * Blank * Parent * Top
36
How can an image be used as a link in HTML?
Put the img tag inside the a tag
37
What does the mailto href create?
A link that opens the user’s email program
38
What is required to use an HTML button as a link?
Add some JavaScript code
39
What does the title attribute specify?
Extra information about an element
40
What are the required attributes for embedding an image?
* Src * Alt