HTML Code Flashcards

1
Q

What is “<em></em>” ?

A

The “Emphasis” HTML element. Emphasizes text inside.

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

What does HTML stand for?

A

HyperText Markup Language

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

What is “<li>” ?</li>

A

The “List Item” HTML element. Creates list items in ordered or unordered lists.

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

What is “” ?

A

The “Video” HTML element. Embeds a media player for video playback.

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

What is “src” ?

A

The “src” HTML attribute. Contains the URL to an image or to a video.

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

What is “controls” ?

A

The “controls” HTML attribute. Gives a display of video controls in media players.

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

What is “<ol></ol>” ?

A

The “Ordered List” HTML element. Creates a list of items in sequential numbered order.

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

What is “<div></div>” ?

A

The “Division” HTML element. Can contain “flow content” and is used as a container that divides an HTML document into sections.

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

What is “<br></br>” ?

A

The “Line Break” HTML element. Creates a line break in text.

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

What is “<img></img>” ?

A

The “Image” HTML element. Embeds imaged in documents.

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

What is “<h1>—” ?</h1>

A

The “Heading” HTML elements. Gives 6 different levels to change the heading of text.

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

What is “<p></p>” ?

A

The “Paragraph” HTML element. Contains and displays a block of text.

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

What is “<ul></ul>” ?

A

The “Unordered List” HTML element. Creates a list of items all noted by bullet points.

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

What is “id” ?

A

The “id” HTML attribute. Allows denoting of unique identifiers for other use.

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

What is “style” ?

A

The “style” HTML attribute. Allows the changing of different aspects when used accordingly.

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

What is “alt” ?

A

The “alt” HTML attribute. Effects the “img” HTML attribute, by displaying alternate text where an image would be if for any reason it does not load.

17
Q

What is “” ?

A

The “Body” HTML element. Represents the content of an HTML document, content inside is rendered on web browsers.

18
Q

What is special about the “Body” HTML element?

A

There can only be one “Body” HTML element in a document.

19
Q

What is “<span></span>” ?

A

The “Span” HTML element. Is an inline container for text and can be used to group text for styling purposes.

20
Q

What is “<strong></strong>” ?

A

The “Strong” HTML element. It highlights text and usually renders it bold.

21
Q

What is “<a></a>” ?

A

The “Anchor” HTML element. Used to create hyperlinks that can point to many different options.

22
Q

What is “href” ?

A

The “href” HTML attribute. It determines the location the “Anchor” HTML element points to.

23
Q

What is “” ?

A

The “Head” HTML element. Contains metadata, general information about an HTML page that isn’t displayed on the page itself.

24
Q

What is “target” ?

A

The “target” HTML attribute. Specifies where a hyperlink should be opened in the “Anchor” HTML element.

25
Q

What value will make the “target” HTML attribute open a hyperlink in a new browser tab?

A

Entering the value “_blank” into a “target” HTML attribute.

26
Q

What is “” ?

A

The “HTML” element. The root of an HTML document, should be added after the “!DOCTYPE” declaration.

27
Q

What should be included inbetween the “HTML” element?

A

All content/structure for an HTML document should be contained between the “HTML” element.

28
Q

What is “” ?

A

Then opening and closing indicators of a “Comment” in HTML documents.

29
Q

What is “” ?

A

The “Document Type Declaration” in HTML. Acts as an instruction to the browser about what document type to expect.

30
Q

How do you denote “HTML” as the type in a “Document Type Declaration”?

A

Add “html” into the declaration: “”

31
Q

What is “” ?

A

The “Title” HTML element. Contains text that defines the title of an HTML document.

32
Q

Where is the “Title” HTML element displayed?

A

In the browser’s title bar or tab in which the HTML page is displayed.

33
Q

Where can the “Title” HTML element be contained?

A

Only inside a document’s “” HTML element.