Development, HTML, CSS, Javascript, Accessibility,
and Design Best Practices | Western Governors
University
What can developers use to perform common JavaScript tasks with less code?
A) WebGL
B) XMLHttpRequest
C) AJAX
D) jQuery ---------CORRECT ANSWER-----------------jQuery
Which type of Web form field allows a user to select more than one choice from a
group of pre-determined choices?
A) Text box
B) Radio button
C) Check box
D) Textarea ---------CORRECT ANSWER-----------------Check box
Which element can you use to add a label to an input element in a Web form?
A) The legend element
B) The output element
C) The label element
,D) The button element ---------CORRECT ANSWER-----------------The label element
Which HTML feature recognizes text input and completes the text entry
automatically?
A) Graceful degradation
B) Autocomplete
C) Global attributes
D) Semantic degradation ---------CORRECT ANSWER-----------------Autocomplete
Which HTML 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?
A) The label element
B) The legend element
C) The fieldset element
D) The textarea element ---------CORRECT ANSWER-----------------The fieldset
element
Into which type of Web form field can a user type alphanumeric characters of his
or her choice?
A) Drop-down list
B) Text box
C) Check box
D) Radio button ---------CORRECT ANSWER-----------------Text box
,What does the number form input type allow the user to do?
A) Enter a phone number
B) Enter a time
C) Enter numbers using a slider control
D) Enter rational integers or float values ---------CORRECT ANSWER-----------------
Enter rational integers or float values
Many of the new HTML5 elements and attributes are semantic, which means
that:
A) they may not render similarly in various browsers.
B) they clearly describe their purpose to a human reading the code.
C) their purpose is not obvious to a human reading the code.
D) they will not work properly in previous versions of HTML. ---------CORRECT
ANSWER-----------------they clearly describe their purpose to a human reading the
code.
Why should you use the placeholder attribute with HTML5 form elements that
require text input from the user?
A) To require the user to enter a value in the form field before the form can be
submitted
B) To specify whether text submitted in a form field is to be wrapped
C) To specify the field in which data will be entered when the user starts typing
, D) To provide the user with a hint identifying the expected input in the form field -
--------CORRECT ANSWER-----------------To provide the user with a hint identifying
the expected input in the form field
What CSS3 property should you use if you want to apply a shadow effect behind
characters in a Web document?
A) The text-emphasis property
B) The box-shadow property
C) The text-shadow property
D) The text-overflow property ---------CORRECT ANSWER-----------------The text-
shadow property
Which CSS3 border property should you use if you want to create a border that
uses an image instead of just a line?
A) The box-shadow property
B) The box-image property
C) The border-image property
D) The border-radius property ---------CORRECT ANSWER-----------------The border-
image property
Before CSS3, background image size was largely dependent on the size of the
original image. What CSS3 property can you use to resize a background image?
A) The background-origin property