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?
Option A
Add the following attribute to the input tag: value="https://v
Option B
Add the following attribute to the input tag: pattern="https://.+"
Option C
Add the following attribute to the input tag: value="ssl"
Option D
Add the following attribute to the input tag: itemtype="https"
Correct Answer
B
Explanation Explanation: Note: * The pattern attribute is supported in Internet Explorer 10, Firefox, Opera, and Chrome. * The pattern attribute specifies a regular expression that the element's value is checked against. * The pattern attribute works with the following input types: text, search, url, tel, email, and password
Question ID 14949
You are developing an HTML5 web application for an architectural company that displays
architectural blueprints.
The application must:
✑ Display the blueprints at different zoom levels without loss of detail
✑ Print the blueprints without loss of detail
✑ Work from only one source file per blueprint
You need to ensure that blueprints display according to the requirements.
Which HTML5 element should you use?
Option A
CANVAS
Option B
SAMP
Option C
SVG
Option D
AREA
Correct Answer
C
Explanation Explanation: * SVG stands for Scalable Vector Graphics SVG is used to define graphics for the Web SVG is a W3C recommendation * The HTML