LATEST VERSIONS (VERSION A AND B)
COMPLETE 400 QUESTIONS AND
CORRECT DETAILED ANSWERS (VERIFIED
ANSWERS) |ALREADY GRADED A+||WGU
C777 OBJECTIVE ASSESSMENT EXAM
PREPARATION
Which HTML input type allows for mailto: address entry? - ANSWER -url
,Which form attribute limits the number of characters for an input field? - ANSWER -maxlength
Which element allows a developer to add a caption for a created group of items? - ANSWER -<legend>
Which attribute value presents form data to a server for processing? - ANSWER -submit
Which global attribute should a developer use to bind a label element to an input element? - ANSWER -
for
Given the following HTML:
What color would you like to use?
<select autofocus>
<option value = "red">Red</option>
<option value = "blue">Blue</option>
<option value = "green">Green</option>
<option value = "pink">Pink</option>
</select>
What happens when the page loads? - ANSWER -The select element in the form takes focus.
Which code segment creates input text that has its value checked against a regular expression? -
ANSWER -<input type="text" name="name" pattern="[a-zA-Z]">
What is a limitation of user input validation? - ANSWER -Validation detects only incorrect formatting and
missing information.
Given the following markup:
, <input id="password" name="password" type="password" class="password" pattern=".{8,12}"
required>
What does the markup do? - ANSWER -It allows a user to enter a password between 8 and 12 characters
long.
Which HTML pattern attribute validates an IPv4 address? - ANSWER -<input type="text"
pattern="\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}">
Given the following code:
<form name="Form" action="/action.php" method="post">
Name: <input type="text" name="name">
<input type="submit" value="Submit">
</form>
What should a developer add or change to ensure that the form is validated when submitted? - ANSWER
-The event handler and function should be added to the form tag.
Which unit of measurement should a developer use when designing mobile websites to ensure that
content fits multiple screen sizes? - ANSWER -Percentage point
What is a characteristic of mobile web design? - ANSWER -Easily understood text labels as links
Where should a search field be placed on a mobile site? - ANSWER -Across the top
Which development phase helps ensure cross-browser compatibility through coding standards? -
ANSWER -Validation
What should a developer use to test sites for cross-browser compatibility? - ANSWER -Emulator