Skip to main content

Basic Html — Part 2 MCQs with Explanations

Practice high-yield Programming & Software Development MCQs on Basic Html — 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

This is used to <meta http-equiv="X-UA-Compatible" content="IE=8">

Question 2 of 40
★ FPSC ★ PPSC

Which one of the following is an open source JavaScript library that enables styling for HTML5 elements in versions of Internet Explorer before IE 9 ?

Question 3 of 40
★ FPSC ★ PPSC

Which one of the following is not a step to install a library you need to perform the compatibility in browsers ?

Question 4 of 40
★ FPSC ★ PPSC

Which property is used to detect the browser’s user agent and code based on the pertinent cases?

Question 5 of 40
★ FPSC ★ PPSC

Some users have requested tests for IE’s float double margin bug, and support for position:fixed. Which API is suitable for them?

Question 6 of 40
★ FPSC ★ PPSC

___________ is an open source JavaScript library that allows support for different levels of experiences based on the capabilities of each browser.

Question 7 of 40
★ FPSC ★ PPSC

____________ allows you to add custom styles to the document and test an element afterwards.

Question 8 of 40
★ FPSC ★ PPSC

Modernizr does actually add missing functionalities to browsers save for the HTML5 tags styling support.

Question 9 of 40
★ FPSC ★ PPSC

___________ is used to test whether geolocation is supported in old browsers.

Question 10 of 40
★ FPSC ★ PPSC

____________ is a resource loader (CSS and JavaScript) that was made to specifically to work side-by-side with Modernizr.

Question 11 of 40
★ FPSC ★ PPSC

In case we want to implement a JavaScript fallback, we would need to create a conditional statement using Modernizr.

Question 12 of 40
★ FPSC ★ PPSC

Metadata store information about the web page that is not necessarily visible to end users.

Question 13 of 40
★ FPSC ★ PPSC

In which part of the HTML metadata is contained?

Question 14 of 40
★ FPSC ★ PPSC

Which of the following is not a function of robots meta tag?

Question 15 of 40
★ FPSC ★ PPSC

What is the role of charset attribute? It specifies

Question 16 of 40
★ FPSC ★ PPSC

__________ prevents the page from being indexed altogether.

Question 17 of 40
★ FPSC ★ PPSC

Which of the following is not supported in HTML5 ?

Question 18 of 40
★ FPSC ★ PPSC

__________ prevents search engines from following links inside the page

Question 19 of 40
★ FPSC ★ PPSC

Different meta tags are defined by changing the __________ attribute to a valid value.

Question 20 of 40
★ FPSC ★ PPSC

__________ prevents search engines from showing a cached link for the page.

Question 21 of 40
★ FPSC ★ PPSC

The value of the ___________ attribute refers to the time interval in seconds before the refresh is performed.

Question 22 of 40
★ FPSC ★ PPSC

__________ is an HTML specification used to add more information to HTML tags.

Question 23 of 40
★ FPSC ★ PPSC

The microdata model consists of groups of name-value pairs known as

Question 24 of 40
★ FPSC ★ PPSC

Every HTML element may have an ____________ attribute specified.

Question 25 of 40
★ FPSC ★ PPSC

Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a meta element ?

Question 26 of 40
★ FPSC ★ PPSC

Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a time element ?

Question 27 of 40
★ FPSC ★ PPSC

The ___________ of an item is the value of its element’s itemid attribute.

Question 28 of 40
★ FPSC ★ PPSC

If the element has an itemscope attribute, it returns an __________ object with all the element’s properties.

Question 29 of 40
★ FPSC ★ PPSC

Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a data element ?

Question 30 of 40
★ FPSC ★ PPSC

Which method takes a string that contains an unordered set of unique space-separated tokens that are case-sensitive, representing types?

Question 31 of 40
★ FPSC ★ PPSC

The goal of microdata is to create a unified way to define the data in a way any web crawler or reader implementation can read it.

Question 32 of 40
★ FPSC ★ PPSC

Which of the following applications/software can be used to create a favicon?

Question 33 of 40
★ FPSC ★ PPSC

y default, iOS adds ____________ effects to icons.

Question 34 of 40
★ FPSC ★ PPSC

Favicon stands for

Question 35 of 40
★ FPSC ★ PPSC

Which attribute is used for favicon?

Question 36 of 40
★ FPSC ★ PPSC

Which image file format is not supported in Firefox?

Question 37 of 40
★ FPSC ★ PPSC

The favicon was standardized by the

Question 38 of 40
★ FPSC ★ PPSC

In 2003, the .ico format was registered with the ____________

Question 39 of 40
★ FPSC ★ PPSC

The recommended basic size for a favicon is ___________ pixels

Question 40 of 40
★ FPSC ★ PPSC

In March 1999, Microsoft released Internet Explorer 5, which supported favicons for the first time.

✓ 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 →