Chapter 2 Flashcards

1
Q

Heading tag?

A

Series of tag between 1 and 6

The number represents the size of text that will be used in displaying the heading on the browser.

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

What are block elements?

A

Elements that force anything after the element to be positioned on the next line in the browser

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

What are inline elements?

A

Elements that do not force markup following it to appear on the next line, but will position it horizontally next to it.

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

What does id and class attribute do?

A

apply changes to the font size, type, color, and so on, through CSS.

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

What are anchors and hyperlinks?

A

<a> tag, named the anchor, is an inline element that is used to group text together that will be hyperlinked to another location or URL.</a>

</a><a>
Products
</a>

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

What does ?

A

Highlights a text

abc

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

What is a ordered list?

A

An ordered list contains items that will be displayed in numeric order.

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

What is a unordered list?

A

An Unordered List contains items that will not be displayed with numbers, but rather bullets will be used to display the list items

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

What is a description list?

A

A description list is used for a list of terms or items that will be defined or described. Look at the example code below and output that will display in the browser window.

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

What are the primary tags used to create tables?

A

The primary tags used when creating tables are , , , and . The element is used to define the table, but will display nothing without at least one row and one column. The element, called the table row, is used within to define a row in the table. Rows span horizontally across the page from left to right. All elements must contain at least one column that is created using the tag. The tag is used to create a column, but stands for table data because content and elements that are placed in the table must be defined within the table data tag

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

What is semantic elements?

A

Semantic elements use tag names that are easy to identify the type of content such as the <img></img> which represents an image, or which represents a table of data. Semantic elements are much more important in terms of the ability for search engines and other applications that would like to analyze and understand the content on your site.

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

What is form elements?

A

Forms and the elements within forms are used to collect input from the user. Those elements used to collect input from the user are called form elements.

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

What attribute should be set with element?

A

Action and method attribute

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

What is method attribute?

A

The method attribute describes how the data will be set. The method attribute can be set to post or get. The post value for the method attribute should be used most of the time to protect the data that is being sent, because the get value will send the data through the URL with name=value pairs of data. Therefore, if the data is being sent through the URL then the data is visible to the user if they know what to look for in the URL. Furthermore data sent using the post method is encrypted if the web server hosting the web application has an SSL certificate installed.

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

What is an action attribute?

A

The action attribute is used to specify the file that the data will be sent to. Forms can send the information to itself, meaning that the data in the form elements will be sent back to itself and will be collected by the same page that posted it through JavaScript or server-side processing like ASP.NET or PHP. If the action attribute is not set then the form will automatically post the data to itself.

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

What is ?

A

The HTML element defines bi-directional override.

The element is used to override the current text direction:

This text will be written from right to left

17
Q

What are the examples of form elements?

A

Form elements are different types of input elements, checkboxes, radio buttons, submit buttons, and more.

18
Q

?

A

Grouping Form Data with
The element groups related data in a form.

The element defines a caption for the element.

19
Q

Whats the difference between and ?

A

In the HTML markup for the note that one of the differences between the list and the is that the tags do not require an end tag. Also visually there is no arrow indicating that there is a drop-down of values to select.

20
Q

What is form validation?

A

The process of checking for errors or information that is not accurate in your forms data is called forms validation.

21
Q

What is ?

A

The purpose of the element is to provide a secure way to authenticate users.

The element specifies a key-pair generator field in a form.

When the form is submitted, two keys are generated, one private and one public.

The private key is stored locally, and the public key is sent to the server.

The public key could be used to generate a client certificate to authenticate the user in the future.