HTML 1 Flashcards

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?

A

The br tag

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?

A

Attributes

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
Q

What does the src attribute do?

A

Specifies the path to the image to be displayed

26
Q

What are the two ways to specify a URL in the src attribute?

A
  • Absolute URL
  • Relative URL
27
Q

What do the width and height attributes specify?

A

The width and height of the image

28
Q

What does the alt attribute specify?

A

An alternate text for an image

29
Q

How do headings in HTML range?

A

From h1 to h6 tags

30
Q

What does the p element define?

A

A paragraph

31
Q

What does the hr tag define?

A

A thematic break in an HTML page

32
Q

What is the purpose of the br element?

A

Defines a line break

33
Q

What does the pre element define?

A

Preformatted text

34
Q

What does the target attribute specify for links?

A

Where to open the linked document

35
Q

What are the possible values for the target attribute?

A
  • Self
  • Blank
  • Parent
  • Top
36
Q

How can an image be used as a link in HTML?

A

Put the img tag inside the a tag

37
Q

What does the mailto href create?

A

A link that opens the user’s email program

38
Q

What is required to use an HTML button as a link?

A

Add some JavaScript code

39
Q

What does the title attribute specify?

A

Extra information about an element

40
Q

What are the required attributes for embedding an image?