



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Many of the new HTML5 elements and attributes are semantic, which means that: - answer -they clearly describe their purpose to a human reading the code. For what can you use the element? - answer -To add a caption for a group of items created by the element HTML5 includes Web form additions, such as semantic input types, new selection options and new validation tools, that make it easier to: - answer -enter information into forms when using touchscreen keyboards and small mobile device screens. Which element can you use to add a label to an input element in a Web form? - answer -The element Which HTML5 form element should you use to specify a list of pre-defined choices for an element? - answer -The element If a specified field includes the autofocus attribute, what occurs when a user starts typing after loading your Web form in a browser? - answer -The text is entered into the field identified with the autofocus attribute.
Which HTML5 form element should you use to enable asymmetric cryptography to encrypt communications between the user and your server? - answer -The element What does the range form input type allow the user to do? - answer -Select a number using a slider control What does the number form input type allow the user to do? - answer -Enter rational integers or float values Why should you use the placeholder attribute with HTML5 form elements that require text input from the user? - answer -To provide the user with a hint identifying the expected input in the form field When you use the element to create form fields, what occurs if you neglect to include the type attribute, or if the specified value of the type attribute is not supported by the browser? - answer -The browser will infer the default type of text. Which type of Web form field allows a user to select more than one choice from a group of pre- determined choices? - answer -Check box For what can you use the HTML5 element? - answer -To save and reuse the result of a calculation performed by a script Which HTML5 feature recognizes text input and completes the text entry automatically? - answer - Autocomplete What is the term for an attribute that can be used by many different HTML elements? - answer -Global attribute Consider the following code to create a search field:
Which HTML5 form input type allows the user to enter a date (without time zone) using a drop-down date-picker calendar? - answer -date Which HTML5 element should you use to group related elements on a form by placing a box around the elements to make the form easier to read? - answer -The element What element should you include on your Web form if you want to ask an open-ended question that may result in a fairly lengthy answer? - answer -The element? - answer -To create a drop-down list of options Consider the following code:
User Name: Encryption:
What does the element display? - answer -A key-pair generator field that creates a private key and a public key when the form is submitted Consider the following figure: Figure 8-6: The element grouping feature
What element do you use to create the "Personal Information:" and "Experience:" text at the top of the two boxes shown in the figure? - answer -The element