exam questions

Exam 70-480 All Questions

View all questions & answers for the 70-480 exam

Exam 70-480 topic 3 question 33 discussion

Actual exam question from Microsoft's 70-480
Question #: 33
Topic #: 3
[All 70-480 Questions]

You develop a webpage by using HTML5. You create the following markup:
<input type "url" name= "website" required="required" />
You need to ensure that the value that the user enters contains a secure URL.
What should you do?

  • A. Add the following attribute to the input tag: value="https://v
  • B. Add the following attribute to the input tag: pattern="https://.+"
  • C. Add the following attribute to the input tag: value="ssl"
  • D. Add the following attribute to the input tag: itemtype="https"
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Note:
* The pattern attribute is supported in Internet Explorer 10, Firefox, Opera, and Chrome.
* The pattern attribute specifies a regular expression that the <input> element's value is checked against.
* The pattern attribute works with the following input types: text, search, url, tel, email, and password

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago