Module 2 Flashcards

1
Q

What the tag <meta></meta> is used for?

A

To provide information about the website. Author name, content, keywords for search engines.

Ex: <meta></meta>

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

What are called elements that are supposed to be placed between the opening <html> tag and the opening <body> tag?

A

Head elements.

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

What head elements can contain?

A
  1. Titles
  2. Scripts
  3. File attachments
  4. Character encoding
  5. Meta data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Meta elements can be used to: (select all that apply)

Describe pages
Note the author of the document
Provide keywords to help categorize the type of information in the content of the page

A

All are correct.

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

What is Embedded Content?

A

Content from another source that is included as part of a page, like a youtube video.

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

What are Body Elements?

A

The elements that goes inside the <body> tag.

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

Where we can define that the webpage uses UTF-8?

A

In the meta tag.
Ex: <meta></meta>

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

What is the Basic HTML Template?

A

<!DOCTYPE html>

<html>
<head>
<title> webpage title </title>
<meta></meta>
</head>
<body>
</body>
</html>

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

What the footer tag does?

A

Text that appears at the (foot) bottom of each page.
Typically contains: authorship information, terms and conditions, copyright information, contact information and links to a company’s social media accounts.

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

What the main tag is used for?

A

The elements that are the most important content of the <body> document.

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

How many main tag can be in a webpage?

A

Only one.

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

What are Attributes?

A

A word or phrase used inside an element’s opening tag that controls the element’s behavior.

Ex: <img src=+”https://www.petmd.com/sites…cat.jpg”>

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

Which one of the following are not contained within the structure of a basic HTML webpage?

  1. UTF-16
  2. <html> element
    </html>
  3. <!DOCTYPE html> declaration
  4. <title> element
    </title>
A
  1. UTF-16
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the Id attribute?

A

Short for identification, it specifies a unique and specific name ofr an HTML element.

Ex: <p id="paragraph">This is some text.</p>

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

Why an Id attribute is said to be unique and specific?

A

It is specific because you cannot name two different elements with the same name and is unique because one element can have only one name.

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

The … attribute is used to assign a category to one or more elements.

  1. Id
  2. Class
  3. href
A
  1. Class
17
Q

What are anchor tags?

A

<a></a>

Makes its element a link.

18
Q

What href stands for?

A

hypertext reference.

19
Q

Which is more recomended to use, absolute path or relative path?

A

Relative path.

20
Q

What two kinds the href attribute can be?

A

Implicit and explicit.

21
Q

What is an implicit href?

A

An href take thakes the user to a local webpage.

22
Q

What is an explicit href?

A

An href take thakes the user to an external webpage.

23
Q

… href attributes are used to create a link to another webpage that is located in the same folder as the page the <a> tag is in.</a>

A

Implicit.

24
Q

What the <nav> tag does?

A

Defines a set of navigation links. Usually implicit links.