wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML Day-3

Total questions: 25

Worksheet time: 18mins

Name
Class
Date
1.

What does XHTML stand for?

a)

Extended Hyper Text Markup Language

b)

Extra Hyper Text Markup Language

c)

Extensible Hyper Text Markup Language

d)

Example Hyper Text Markup Language

2.

XHTML is based on which language?

a)

HTML

b)

CSS

c)

XML

d)

JavaScript

3.

XHTML requires tags to be written in (a)   case.

4.

Which element is used to draw graphics using JavaScript?

(a)  

5.

Which HTML5 feature is used for drawing vector graphics?

a)

Canvas

b)

SVG

c)

Video

d)

Audio

6.

The (a)   API is used to get user location.

7.

Where are meta tags placed in HTML?

a)

<header>

b)

<footer>

c)

<head>

d)

<html>

8.

What is web accessibility?

a)

Making websites faster

b)

Making websites attractive

c)

Making websites usable for everyone

d)

Making websites smaller

9.

Which HTML element improves page structure for accessibility?

(a)  

10.

Which element is keyboard accessible by default?

a)

<div>

b)

<span>

c)

<button>

d)

<p>

11.

What does SEO stand for?

a)

Search Easy Option

b)

Search Engine Optimization

c)

Site Engine Operation

d)

Search Entry Order

12.

Sitemap file extension is (a)   .

13.

What is Responsive Web Design?

a)

Designing only for desktop

b)

Designing for mobile & Tablet

c)

Designing websites that adapt to different screen sizes

d)

Designing fast websites

14.

Which element represents independent content?

a)

<section>

b)

<article>

c)

<aside>

d)

<main>

15.

Task completion is shown using the (a)   element.

16.

Which practice improves accessibility?

a)

Using <div> everywhere

b)

Adding alt text to images

c)

Using inline styles

d)

Using tables for layout

17.

Why should semantic HTML be used?

a)

For styling

b)

For animation

c)

For readability and accessibility

d)

For database connection

18.

(a)   allow running JavaScript in the background without blocking the main thread.

19.

WebSockets enable real-time, _____ communication between the client and server.

a)

multi-directional

b)

bidirectional

c)

directional

d)

unidirectional

20.

HTML5 introduced the <picture> element and (a)   attribute for responsive images.

21.

_____ allows embedding machine-readable data in HTML documents.

a)

bigdata

b)

macrodata

c)

largedata

d)

Microdata

22.

A drawing surface for rendering 2D graphics, (a)   , and animations using JavaScript.

23.

The HTML (a)   tag specifies an inline frame.

24.

What is the key distinction between `localStorage` and `sessionStorage` in the HTML5 Web Storage API?

a)

localStorage data is cleared when the browser tab is closed, whereas sessionStorage data persists indefinitely.

b)

localStorage can only store strings, while sessionStorage can store objects.

c)

localStorage data persists even after the browser is closed, while sessionStorage data is cleared with the session.

d)

localStorage is more secure than sessionStorage.

25.

What is the primary function of the HTML5 Web Workers API?

a)

To store key-value data on the client-side for the duration of a session.

b)

To enable native drag-and-drop functionality for HTML elements.

c)

To run JavaScript in a background thread, preventing the user interface from freezing

d)

To embed external documents or webpages within the current page.