1. HTML Flashcards

1
Q

What does HTML do?

A

HTML provides structure to the content appearing on a website, such as images, text, or videos.

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

HTML stands for

A

HyperText Markup Language

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

What is a “markup language?”

A

A computer language that defines the structure and presentation of raw text.

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

What is “HyperText?”

A

Text that is displayed on a computer or device that provides access to other text through links, also known as hyperlinks.

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

The tag and content as a whole is called an:

<p>Hello World!</p>

A

HTML element

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

The tag of is:

<p>Hello World!</p>

A

<p>, opening tag | </p>

, closing tag, Hello World! is the content or information between opening/closing tag

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

One of the key HTML elements we use to build a webpage is the _______ element. Only content inside the opening and closing _______ tags can be displayed to the screen.

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

When an element is contained inside another element, it is considered the _____ of that element. The _____ element is said to be nested inside of the parent element.

A

Child element.

<p>This paragraph is a child of the body</p>

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

In HTML, there are six different “headings” or “heading elements”, ordered from largest to smallest in size they are:

A
<h1>
<h2>
<h3>
<h4>
<h5>
<h6></h6></h5></h4></h3></h2></h1>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

<div> is short for "\_\_\_\_\_\_\_\_"</div>

A

Division

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

<div> or a Division tag helps to Divide...</div>

A

the page into sections. These sections are useful for grouping elements in your HTML together.

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

<div>'s can contain any...</div>

A

Text or other HTML elements, such as links, images or videos.

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

If we want to expand an element’s tag, we can do so using an “_________”.

A

Attribute

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

What is an “Attribute?”

A

Attributes are content added to the opening tag of an element and can be used in several different ways, from providing information to changing styling.

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

Attributes are made up of the following two parts:

A

The “name” of the attribute

The “value” of the attribute

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

One commonly used attribute is the id. We can use the id attribute to specify different content (such as <div>’s) and is really helpful when you use an element more than once. Example:</div>

A

<div>
<h1>Introduction</h1>
</div>

17
Q

If you want to display text in HTML, you can use a ________ or ______.

A

Paragraph or Span

18
Q

Paragraphs <p> contain</p>

A

a block of plain text

19
Q

<span> contains</span>

A

short pieces of text or other HTML. Used to separate small pieces of content that are on the same line as other content.

20
Q

It’s best to use a <span> element when you want to target a specific piece of content that is inline, or on the same line as other text.</span>

A

It’s best to use a <span> element when you want to target a specific piece of content that is inline, or on the same line as other text.</span>

21
Q

If you want to divide your content into blocks, it’s better to use a <div>.</div>

A

If you want to divide your content into blocks, it’s better to use a <div>.</div>

22
Q

The <em> tag emphasizes text in what way?</em>

A

It renders as italic emphasis

23
Q

The <strong> tag highlights important text in what way?</strong>

A

It renders as bold emphasis