0% found this document useful (0 votes)
7 views4 pages

HTML 2nd Papers

The document consists of a series of multiple-choice questions related to HTML5 elements and attributes. It covers topics such as thematic breaks, user interface menus, metadata, navigation, and various input types. The questions assess knowledge of both newly introduced and deprecated features in HTML5.

Uploaded by

sitapurhome3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

HTML 2nd Papers

The document consists of a series of multiple-choice questions related to HTML5 elements and attributes. It covers topics such as thematic breaks, user interface menus, metadata, navigation, and various input types. The questions assess knowledge of both newly introduced and deprecated features in HTML5.

Uploaded by

sitapurhome3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

1.

Which of the following element represents a thematic break rather than a horizontal rule, though that
is the likely representation?
a) <dd>
b) <dt>
c) <hr>
d) <menu>
2. Which of the following element was redefined to represent user interface menus, including context
menus?
a) <ul>
b) <dt>
c) <hr>
d) <menu>

3. Which of the following HTML 4 attributes is not removed in HTML5?


a) text
b) rules
c) link
d) mark
4. Which of the following element is not removed by HTML5?
a) vlink
b) span
c) marginwidth
d) compact

5. 5. Which of the following is not a newly added element in HTML5?


a) article
b) audio
c) nav
d) frameset

6. 6. ____________ defines the accelerator key to be used for keyboard access to an element.
a) data-X
b) accesskey
c) rp
d) command

7. 7. Which of the following element represents the header of a section or the document and contains a
label or other heading information for the related content?
a) data-X
b) header
c) mark
d) meter

8. 8. Which of the following element sets is an item of metadata?


a) itemscope
b) itemref
c) itemtype
d) none of the mentioned

9. 9. _____________ defines a group of content that should be used as a figure and may be labeled by a
legend element.
a) figure
b) details
c) output
d) aside
10. Which element is used to define a discrete unit of content such as a blogpost, comment, and so on?
a) section
b) class
c) article
d) media

11. HTML5 documents may contains a ___________ element, which is used to set the header section of a
document.
a) header
b) footer
c) section
d) drive

12. Which element may be used within content to represent material that is tangential?
a) aside
b) cite
c) article
d) class

13. ____________ contains the navigation menu, or other navigation functionality for the page.
a) section
b) header
c) nav
d) aside

14. Which of the following attribute is used to display date/time content?


a) time
b) datetime
c) date
d) year

15. The element ___________ simply groups items within an enclosed dd tag, though it may associate
them with a caption defined by a dt tag.
a) object
b) figure
c) embed
d) collect

16. Which of the following element is used for highlighting content similarly to how a highlighter pen
might be used on important text in a book?
a) em
b) strong
c) mark
d) bold

17. To insert a video, we use a video tag and set its src attribute to a local or remote URL containing a
playable movie.
a) True
b) False
18. Which tag is used to encapsulate navigation and then style the elements appropriately as menu
items?
a) ul
b) li
c) nav
d) both ul and li
19. What is the default type of ‘type’ attribute of <input> element?
a) Text
b) Password
c) Numerals
d) Special Characters

20. Which of the following is a new input attribute introduce by HTML5?


a) text
b) checkbox controls
c) submit buttons
d) date

21. How does the color attribute work?


a) Changes color of the text
b) Changes background color
c) The color picker is defined by it
d) Changes color of the text as well as background

22. Which attribute is used for activation of JavaScript?


a) button
b) checkbox
c) url
d) submit

23. Which attribute defines the file-select field?


a) file
b) checkbox
c) button
d) text

24. How image attribute works?


a) Sets an image background
b) Set an image as submit button
c) Set an image anywhere on the page
d) Bring default image to the page

25. month attribute defines ___________


a) the only month
b) month and year
c) date
d) date and time

26. week attribute defines ____________


a) week
b) year
c) week and year
d) week, month and year

27. tel attribute is supported by the _________ browser.


a) Chrome
b) Safari
c) Opera
d) Internet Explorer

28. Which attribute is not used on new forms?


a) size
b) text
c) name
d) maxlength

29. Which of the following is not used with password attribute?


a) name
b) size
c) maxlength
d) min

30. Which element is used to create multi-line text input?


a) text
b) textarea
c) submit
d) radio button

31. Which attribute is not used for the radio type?


a) name
b) value
c) checked
d) selected

32. Which attribute is used with <select> element?


a) multiple
b) selected
c) name
d) value

You might also like