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"
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
Currently there are no comments in this discussion, be the first to comment!
This section is not available anymore. Please use the main Exam Page.70-480 Exam Questions
Log in to ExamTopics
Sign in:
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.
Comments