These MCQs cover various HTML5 features, including semantic elements, form enhancements, multimedia support, accessibility improvements, and interactive elements, providing a comprehensive overview of the advancements introduced in HTML5.
These elements empower developers to create dynamic and engaging web experiences, aligning with modern web standards and practices. Mastering these elements is essential for building robust and user-friendly web applications.
1.) Which of the following is a new semantic element introduced in HTML5?
2.) What is the purpose of the HTML5 <header> element?
3.) Which attribute is used to specify a placeholder text for an input field in HTML5?
4.) What is the purpose of the HTML5 <nav> element?
5.) Which HTML5 attribute is used to specify that a link should be opened in a new browser window or tab?
6.) What is the purpose of the HTML5 <article> element?
7.) Which HTML5 element is used to define a footer section within a document or section?
8.) Which HTML5 attribute is used to specify that an input field is required to be filled out before submitting a form?
9.) Which HTML5 element is used to define a time or date within a document?
10.) Which HTML5 attribute is used to specify a suggested filename for downloaded files?