Vous êtes sur la page 1sur 3

1. HTML5 browsers support which technology?

a. CSS2
b. CSS3
c. CSS1
d. CSS2.5
2. Which HTML5 form attribute is used to instruct browser automatically complete values based on values that the user
has entered before
a. Autoaction
b. Autofocus
c. Autocomplete
d. Autovalidate
3. Which HTML5 attribute specifies the URL of a file that will process the input control when the form is submitted
a. Formaction
b. Formenctype
c. Formmethod
d. Formvalidate
4. What is the HTML5 syntax to enable autocomplete feature?
a. <input type = “text” name = “creditcardno” autocomplete = “1”>
b. <input type = “text” name = “creditcardno” autocomplete = “on”>
c. <input type = “text” name = “creditcardno” autocomplete = “true”>
d. <input type = “text” name = “creditcardno” autocomplete = “enable”>
5. HTML5 attribute that specifies that an input field must be filled out before submitting the form
a. Regular expression
b. Mandatory
c. Validate
d. Required
6. Correct syntax in HTML5 for designing a telephone number field?
a. <input type = “telephone” name = “telephone”>
b. <input type = “tel” name = “telephone”>
c. <input type = “tele” name = “telephone”>
d. <input type = “phone” name = “telephone”>
7. In HTML5, ------- tag is not supported?
a. Code
b. <basefont>
c. Base
d. Canvas
8. Which HTML5 input type allows users to select a date and time with time zone?
a. Datetime
b. Datetime-local
c. Datetime-timezone
d. Datetime-zone
9. Below is new HTML5 input type
a. Search
b. Block
c. Layout
d. List
10. Which HTML5 input type allows a user to select a year and week
a. Input type = “ yearandweek”
b. Input type = “ weekandyear”
c. Input type = “weekyear”
d. Input type = “week”(correct)
11. What type the input field has to be to contain email address
a. Email
b. Datetime-local
c. Datetime
d. Html
12. How many video formats supported for <video> element
a. 4
b. 2
c. 3
d. 1
13. How many audio formats supported for <audio> element
a. 4
b. 2
c. 3
d. 1
14. Track tag
15. Preload attribute of Audio tag
16. Which is not semantic
a. <form>
b. <table>
c. <img>
d. <div>
17. In HTML5, semantic element is used for defining marking or highlighting text?
a. <highlight>
b. <mark>
c. <markup>
d. <marktext>
18. Which HTML5 element is used to define a caption for <figure> element?
a. <figtext>
b. <figurecaption>
c. <figcaption>
d. <figuretext>
19. To draw straight lines on canvas, which methods are used?
a. moveTo(x,y) and lineTo(x,y)
b. moveTo(x,y)
c. moveTo(x,y) and strokeText(x,y)
d. lineTo(x,y)
20. Which element in HTML5 is used to draw graphics?
a. <canvas>
b. <video>
c. <svg>
d. <audio>
21. Which method in canvas is used to create a rectangle?
a. Rectangle(x,y,width,height)
b. Rect (x,y,width,height)
c. CreateRect (x,y,width,height)
d. CreateRectangle(x,y,width,height)
22. Transformations in HTML5 are applied using
a. Transform
b. Canvas
c. Geolocation
d. Web Storage
23. Which tag specifies a key-pair generator field in a form
a. <output>
b. <datalist>
c. <keygen>
d. <input>
24. Where the keys are stored which has been generated using <keygen> element?
a. Private key is stored locally. public key is sent to the client
b. Private key is stored in server. public key is stored locally
c. Private key is sent to the client. public key is stored locally
d. Private key is stored locally. public key is sent to the server
25. Use of <embed> tag?
a. Used to embed plugin
b. Used to embed text
c. Used to embed canvas
d. Used to embed JS
26. Which tag defines a caption for <figure> element?
a. <form>
b. <figure>
c. <figcaption>
d. <output>
27. Elements which are not supported in HTML5?
a. <font>
b. <q>
c. <menu>
d. <ins>
28. HTML5 is a cooperation between WWW Consortium and
a. XML
b. XAML
c. HTML
d. WHATWG
29. Which tag is obsolete and not supported in HTML5?
a. <dd>
b. <br>
c. <b>
d. <big>
30. Out of following options, which is new element in HTML5?
a. <noframes>
b. <site>
c. <div>
d. <canvas>

Vous aimerez peut-être aussi