More HTML Flashcards

1
Q

A blank is any part of a web document body that has opening and closing tags.

A

container

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

A blank is the container in which another element resides.

A

parent container

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

Container for introductory content

A

<header>
</header>

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

Generic tag for creating inline containers

A

<span></span>

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

Generic tag for creating block containers

A

<div>
</div>

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

Container for content not directly related to the main topic of a document

A

<aside>
</aside>

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

Container for content relating to website navigation

A

<nav>
</nav>

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

Container for self-contained content that can be reused independently, such as a news article

A

<article>
</article>

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

Container for distinct parts of a document, such as a chapter

A

<section>
</section>

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

Container for the document’s primary content

A

<main>
</main>

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

Container for person’s or organization’s contact information

A

<address>
</address>

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

Container for content descriptive information about the web page like author, copyright, or date modified

A

<footer>
</footer>

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

HTML elements can be categorized as either blank or blank

A

block or inline

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

A blank (sometimes called a block-level element) fills the width of the element’s parent container and can contain other block elements, inline elements, and text.

A

block element

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

Block elements include blank, blank and blank.

A

<h1>, <table>, and <p>
</p></table></h1>

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

Some block elements cannot be contained within certain blank when the semantics are unclear. Ex: The <p> element cannot contain another <p> element.

A

other block elements

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

A blank element is a generic element for creating block containers to facilitate managing page content and is the only block element with no semantic meaning, unlike other block elements such as <p> and <table>.

A

<div>
</div>

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

An blank fills the minimum space possible in the element’s parent container and can only contain text or other inline elements.

A

inline element

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

The blank element is an inline element that creates a hyperlink container as big as the link’s internal content; a hyperlink does not fill the width or height of the link’s parent paragraph.

A

<a></a>

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

The blank element is the generic element for creating inline containers to facilitate managing content on the page. Unlike other inline elements, such as <a> and <em>, the blank element has no semantic meaning.</em></a>

A

<span></span>

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

The blank tag allows the web browser to submit information from the user to the server.

A

<form>
</form>

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

The <form> tag has what two primary attributes:

A

The action attribute

The method attribute

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

The blank indicates the URL where the form data should be sent. Typically the URL uses HTTPS so the form data is encrypted.

A

action attribute

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

The blank indicates the HTTP request type the browser will use to communicate with the server.

A

method attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
The method is either blank or blank. Blank is the default method if no method is specified.
GET or POST GET
26
The blank is a technique used by a web browser to submit information to a web server by altering the URL of the HTTP request.
GET method
27
When a user clicks the submit button in a form that uses the GET method, the browser performs what 4 following steps:
Collect all data from the form fields into a query string. Create a URL with the server page and name=value pairs. Use the newly created URL to create and send an HTTP GET request. Display or update the web page using the HTTP response received from the server.
28
The blank is a set of name=value pairs separated by the ampersand character (&). Each name is specified as an attribute of the HTML field, and the value is the user-entered data. Ex: The first and last field names and values in the animation below become the string: first=Rick&last=Deckard
query string
29
The URL is composed of the blank
action attribute specified in the form, the question mark character (?), and the query string. Ex: http://example.com/apply?first=Rick&last=Deckard
30
The GET method should not be used to submit blank like phone numbers, credit card information, etc.
private information
31
The blank is a technique used by a web browser to submit information to a web server by sending the information in the HTTP request body.
POST method
31
When the user clicks the submit button in a form that uses the POST method, the browser performs what four steps
Create an HTTP POST request using the URL from the form's action attribute. Create a query string from the form data. Ex: first=Sarah&last=Connor Place the the query string in the HTTP request message body and send the request. Display or update the web page using the HTTP response received from the server.
32
To accommodate binary data, a blank can be split into multiple parts.
a POST request
33
The
tag's blank "multipart/form-data" indicates the web browser should split a POST request into multiple parts, where each input field is sent as a separate part of the HTTP request message.
enctype attribute value
34
The &, ?, and = characters have special meaning in a query string. If a user enters characters like &, ?, =, or white space characters like space, newline, or tab, the characters must be blank, meaning the characters must be transformed into other representations.
escaped
35
The browser rules for escaping form data are what?
Space → + All other reserved characters, newline, and tab → %XX where XX is the ASCII hex value of the character
36
The web server blank the form data to determine what the original values are.
unescapes
37
A blank is an interactive component (usually graphical) that the browser uses to interact with a user. Ex: Buttons, drop-down menus, and data entry fields.
widget
38
The blank allows the user to enter information into a web page.
tag
39
The tag has what five primary attributes:
The type attribute The name attribute The id attribute The placeholder attribute The value attribute
40
The blank specifies a default value for a widget.
value attribute
41
The blank specifies text that first appears in a text widget, typically for giving the user a hint as to the expected value.
placeholder attribute
42
The blank is used to give a widget a unique identifier.
id attribute
43
The blank names the widget and sends the widget's value when the widget's form is submitted.
name attribute
44
The blank indicates the widget type. Common types include text, password, submit, and button.
type attribute
45
A blank widget is an input element with the type attribute of "text" that allows users to enter a single line of text.
text box
46
The web browser displays a blank widget for an tag with the type attribute of "submit", which sends the associated form's data to the server when clicked.
submit button
47
The blank tag displays descriptive text associated with a specific widget. A label has a for attribute whose value should match the id attribute for the widget being labeled.
48
A blank widget is an input element specified by