Skip to main content

Html5 — Part 2 MCQs with Explanations

Practice high-yield Programming & Software Development MCQs on Html5 — Part 2 with worked academic solutions for FPSC, PPSC, NTS, NITB, PTS.

Questions
40
Difficulty Level
Exam-Level
Target Exams
FPSC, PPSC, NTS...
Estimated Time
48 mins
Exam-Level FPSC PPSC NTS NITB PTS
Verified for Commission Syllabus • Oct 14, 2026
40

Verified Practice Questions

Interactive test mode with detailed academic worked solutions

Live Progress | 0/40 answered
✓ 0 correct ✗ 0 wrong 0% score
Question 1 of 40
★ FPSC ★ PPSC

The ___________ method must add the scaling transformation described by the arguments to the transformation matrix.

Question 2 of 40
★ FPSC ★ PPSC

Which method must clear the pixels in the specified rectangle that also intersects the current clipping region to a fully transparent black, erasing any previous image?

Question 3 of 40
★ FPSC ★ PPSC

When the _____________ method is passed an animated image as its image argument, the user agent must use the poster frame of the animation, or, if there is no poster frame, the first frame of the animation.

Question 4 of 40
★ FPSC ★ PPSC

The ____________ method must create a new clipping region by calculating the intersection of the current clipping region and the area described by the current path, using the non-zero winding number rule.

Question 5 of 40
★ FPSC ★ PPSC

The ____________ method must fill all the subpaths of the current path, using fillStyle, and using the non-zero winding number rule.

Question 6 of 40
★ FPSC ★ PPSC

Which of the following methods must empty the list of subpaths so that the context once again has zero subpaths?

Question 7 of 40
★ FPSC ★ PPSC

An API is an application programming interface consisting of methods and properties which allow the author to get or set data or execute commands to the user agent.

Question 8 of 40
★ FPSC ★ PPSC

Which of the following is not a type of attribute for input tag?

Question 9 of 40
★ FPSC ★ PPSC

The new __________ element is supposed to represent some form of extra details, such as a tooltip or revealed region that may be shown to a user.

Question 10 of 40
★ FPSC ★ PPSC

The __________ element may contain not just links but also other interactive items, including the newly introduced command element.

Question 11 of 40
★ FPSC ★ PPSC

The __________ attribute effectively renders the iframe as an inline include, which allows the parent document’s CSS to affect the contents of the iframe

Question 12 of 40
★ FPSC ★ PPSC

Which of the following allows the sandboxed iframe to run scripts from the same domain?

Question 13 of 40
★ FPSC ★ PPSC

__________ allows the iframe to pull in content from elsewhere in the same domain.

Question 14 of 40
★ FPSC ★ PPSC

All elements are identified by their __________ and are marked up using either start tags and end tags or self-closing tags

Question 15 of 40
★ FPSC ★ PPSC

The __________ element represents a span of text that is isolated from its surroundings for the purposes of bidirectional text formatting

Question 16 of 40
★ FPSC ★ PPSC

The interactive element audio with the attribute controls must not appear as a descendant of which element?

Question 17 of 40
★ FPSC ★ PPSC

A ____________ element must have a start tag but must not have an end tag.

Question 18 of 40
★ FPSC ★ PPSC

Which type attribute of input element sets the element’s value to a string representing a number?

Question 19 of 40
★ FPSC ★ PPSC

Which of the following type attributes of input element defines control for entering a telephone number?

Question 20 of 40
★ FPSC ★ PPSC

Which element represents a control for generating a public-private key pair?

Question 21 of 40
★ FPSC ★ PPSC

The World Wide Web’s markup language has always been HTML.

Question 22 of 40
★ FPSC ★ PPSC

Which element represents marked or highlighted text for reference purposes?

Question 23 of 40
★ FPSC ★ PPSC

Which element(s) represents a section of a document that links to other documents?

Question 24 of 40
★ FPSC ★ PPSC

Which of the following element marks the ruby text component of a ruby annotation?

Question 25 of 40
★ FPSC ★ PPSC

Subtitle tracks and caption tracks to be specified for audio and video elements can be added using which of the following element?

Question 26 of 40
★ FPSC ★ PPSC

Which of the following is/are the property of SVG images?

Question 27 of 40
★ FPSC ★ PPSC

_______ drawings can be dynamic and interactive.

Question 28 of 40
★ FPSC ★ PPSC

Which element must reference a resource that can provide an image for the cursor graphic?

Question 29 of 40
★ FPSC ★ PPSC

Which element serves as a container for atomic filter operations.

Question 30 of 40
★ FPSC ★ PPSC

The __________ element must reference either an ‘altGlyphDef’ element or a ‘glyph’ element.

Question 31 of 40
★ FPSC ★ PPSC

The ___________ element must reference a ‘linearGradient’ or ‘radialGradient’ element.

Question 32 of 40
★ FPSC ★ PPSC

SVG also stands for Scalar Vector Graphics

Question 33 of 40
★ FPSC ★ PPSC

Which property of SVG restricts the region to which paint can be applied?

Question 34 of 40
★ FPSC ★ PPSC

Which SVG element produces the same effect as if the nodes were deeply cloned into a non-exposed DOM?

Question 35 of 40
★ FPSC ★ PPSC

Which of the following attribute triggers event after the document is printed?

Question 36 of 40
★ FPSC ★ PPSC

What is the replacement for cookies in HTML5?

Question 37 of 40
★ FPSC ★ PPSC

A semantic element clearly describes its meaning to

Question 38 of 40
★ FPSC ★ PPSC

Which is not suited for game applications?

Question 39 of 40
★ FPSC ★ PPSC

HTML5 features, include native audio and video support without the need for.

Question 40 of 40
★ FPSC ★ PPSC

Which attribute specifies that the video will be loaded at page load, and ready to run. Ignored if autoplay is present.

✓ Link copied to clipboard
Continue Your Practice

Advance Html — Part 1

Master the next curriculum module with 40 exam-standard MCQs.

Next Practice Set →

💡 Examiner's Advisory for Programming & Software Development

In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.

More Modules in Programming & Software Development

View All →
📚

Study Guides

Topic summaries and syllabus breakdown

Explore Guides →
🎯

Complete Library

Search through 78,000+ verified MCQs

Browse Library →
📱

Mobile App

Offline mock tests and instant bookmarks

Get Mobile App →