1. Trang chủ
  2. » Biểu Mẫu - Văn Bản

multiple choice

5 1,8K 1
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 51,69 KB

Nội dung

The attributes of a form element specifya. the name of the submit button and the submission methodb. the name of the submit button and the URL for the server-side scriptc. the submission method and whether the data is passed as part of the URLd. the submission method and the URL for the server-side script

Trang 1

Multiple Choice

Identify the choice that best completes the statement or answers the question.

1.

The attributes of a form element specify

a the name of the submit button and the submission method

b the name of the submit button and the URL for the server-side script c the submission method and whether the data is passed as part of the URL d the submission method and the URL for the server-side script

2.

A hidden text field

a appears on the form but its data is hidden b has data that is obscured by bullets or asterisks

c doesn’t appear on the form but its data is sent to the server d appears on the form with its data grayed out

3.

How many radio buttons from the following code can be selected at any given time?

<input type="radio" name="address" value="Home">Home Address<input type="radio" name="delivery" value="FedEx">Federal Express <input type="radio" name="delivery" value="UPS">UPS

<input type="checkbox" name="address" value="Home">Home Address<input type="checkbox" name="delivery" value="FedEx">Federal Express <input type="checkbox" name="delivery" value="UPS">UPS

a the sequence that they were added to the form b the sequence that they appear in the HTML

c the sequence that they were added to the form, not including labels d the sequence that they appear in the HTML, not including labels 6.

If you assign an access key to a label,

a the user must press the access key and then the tab key to move the focus to the related control

b nothing happens when the user presses the access key because a label can’t receive the focus

c the focus moves to the related control

d the user must press the access key twice to move the focus to the related control

Trang 2

7.

The CSS3 selectors for data validation are a :required, :valid, :notvalid

b :required, :valid, :invalid c :required, :notrequired, :valid

d :required, :notrequired, :valid, :invalid 8.

To associate a field with a data list, you set

a the list attribute of the field to the id of the datalist element b the list attribute of the datalist element to the id of the field c the for attribute of the field to the id of the datalist element d the for attribute of the datalist element to the id of the field 9.

Which of the following statements is NOT true about email, url, and tel controls? a It’s good to use these controls because they indicate the type of data

To implement a search function for your web site, you must include a an input element with its type attribute set to “search”

b an input element plus a submit button

c an input element, submit button, and a hidden field that specifies the domain for the search

d an input element, submit button, and hidden fields that specify the domain for the search and that only that domain should be searched

11.

Which of the following HTML5 controls is designed for data that’s calculated by JavaScript or server-side code?

a Decodes the video and displays it on the screen b Decodes the audio and sends it to the speakers c Interprets any metadata

d Converts the video to the required codecs 13.

When adding audio or video to a web site, a primary problem is that a each of the modern browsers has a different media player

Trang 3

b there isn’t a single combination of codecs that will work in all modern

a into the many formats that meet the requirements of all modern browsers b into the one format that all modern browsers can play

c into the Flash format because all modern browsers support Flash

d into the three formats that meet the requirements of all modern browsers

Example 11-1: The code for playing a video

<video id="videoplayer" width="480" height="270" controls loop autoplay>

<param name="movie" value="media/sjv_speakers_sampson.swf"> <param name="wmode" value="transparent">

<param name="quality" value="high"> <! [if !IE]> >

<object type="application/x-shockwave-flash" data="media/sjv_speakers_sampson.swf" width="480" height="270">

<param name="wmode" value="transparent"> <param name="quality" value="high">

(Refer to example 11-1) This code works because a browsers ignore elements that they don’t understand

b browsers skip to the first nested element that applies to them c older browsers look for object elements

d older browsers look for embed elements unless an object element is first 16.

(Refer to example 11-1) The second object element in this code is intended for a older IE browsers

b older non-IE browsers

c older IE browsers that don’t support the video element d older non-IE browsers that don’t support the video element

Trang 4

17.

(Refer to example 11-1) When this code is loaded in a modern browser, which of the following is NOT true?

a The controls for the video player will be displayed b The video will start playing automatically.

c An image will be displayed in the video element before the video starts playing.

d The video will restart automatically when it finishes playing 18.

To print a web page in a readable format, you should try to do all but one of the following Which one is it?

a Use dark text on a light background

b Use a sans serif font for text other than headings c Remove site navigation

d Remove all unnecessary images 19.

When a link element for a style sheet has a media attribute that specifies “print”, that style sheet is used

a for any of the rule sets that specify “@media print” b for any of the rules that specify “@media print”

c to supply all of the styles that are used when the page is printed

d to override any of the styles in the “screen” style sheet when the page is printed

20.

In a style sheet for printing, if you want a page break to occur before an element is printed, you can use CSS to set the

a page-break property to before

b page-break-before property to always c page-break-inside property to avoid d page-break-before property to auto 21.

In a style sheet for printing, the orphans property can be used to specify a whether a page break can occur within an HTML element

b whether a page break can occur before an HTML element

c the minimum number of lines in an HTML element that can be printed at the bottom of a page when a page break occurs within the element

d the maximum number of lines in an HTML element that can be printed at the bottom of a page when a page break occurs within the element

22.

The DOM for a web page provides a hierarchy of nodes that represent a the elements, contents, and attributes in the HTML

b the elements, attributes, and comments in the HTML c the contents, attributes, and comments in the HTML

d the elements, contents, attributes, and comments in the HTML 23.

Which of the following is NOT a common mistake when using a JavaScript function that is in an external file?

Trang 5

a Forgetting to code a script element for including the JavaScript file b Using id or class names that don’t match the JavaScript requirements c Using HTML elements that don’t match the JavaScript requirements d Using CSS properties that don’t match the JavaScript requirements 24.

When you use JavaScript for tabbed data, the JavaScript changes the class attributes for the active and inactive tabs and the CSS

a sets the display property for the active tab to “yes” b sets the display property for the inactive tabs to “none” c gets the contents for the active tab

d removes the contents from the inactive tabs 25.

One way to find out whether a web page has JavaScript errors is to a test it in Firefox and display the Error Console

b test it in IE and display the Error Console

c view the source code after it has been loaded to see whether it has been changed

d view the CSS for the web page to see whether it has been changed

Ngày đăng: 19/07/2013, 15:22

Xem thêm

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN

w