HTML part 2 Flashcards

1
Q

An ___ is an inline frame that allows us to embed another document within the current HTML document

A

iFrame

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

This tag creates a rectangular region at specified place within the HTML document
in which the browser can display an external document such as a map or another web page

A

iFrame

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

In HTML, the ____ is defined with the iframe tag

A

inline frame

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

iframe syntax

A

<iframe>
</iframe>

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

have been designed for specific for specific purposes, though they are displayed in a similar way as other basic tags like b, i, pre, tt

A

HTML Phrase tags

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

tag that lets us specify metadata, which is additional important information about a document, in a variety of ways

A

HTML <meta></meta> tags

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

can be used to include name/value pairs describing properties of the HTML document

A

meta elements

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

can be used to provide extra information

A

HTML <meta></meta> tag

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

Examples of adding meta tags

A

Specifying keywords
Document revision date
Page redirection
Setting author name
Document description
Setting cookies
Specifying character set
Document refreshing

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

is defined in the HTML code using the class “class” keyword and the styling is determined in CSS

A

HTML Class attributes

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

They allow you to apply the same styled to multiple elements without repeating code, promoting maintainability and cohesive design

A

HTML classes

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

is defined in the HTML code using the “id” keyword, and styling is determined in CSS

A

HTML id attribute

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

essential for managing events and changing the structure of documents

A

HTML id

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

frequently used to identify elements for JavaScript function

A

id

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

Difference between id and class

A

id attribute uniquely identifies single element on a page, making it useful for targeting with CSS and JavaScript, and it must be unique within the document. The class attribute, can be applied to multiple elements, allowing for grouping of elements that share common styles or behaviors

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

The ___ of a webpage is layer behind its content, which include texts, images, colors, and various other elements

A

background

17
Q

The __ property facilitates the specification of a color for an element’s background

A

background-color