Practice high-yield Programming & Software Development MCQs on Advance Html — Part 1 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
🎉 Set complete! All 40 questions answered.
Question 1 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which element is known as HTML plaintext element?
Correct Answer: Option A — <plaintext>
Detailed Academic Explanation:
<plaintext> is the correct answer to “Which element is known as HTML plaintext element”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 2 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following specifies the main content of the document?
Correct Answer: Option B — <main>
Detailed Academic Explanation:
<main> is the correct answer to “Which of the following specifies the main content of the document”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 3 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What should be the set value of background-size property such that image will cover the entire content area?
Correct Answer: Option C — cover
Detailed Academic Explanation:
cover is the correct answer to “What should be the set value of background-size property such that image will cover the entire content area”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 4 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which element shows completion progress of a task?
Correct Answer: Option A — <progress>
Detailed Academic Explanation:
<progress> is the correct answer to “Which element shows completion progress of a task”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 5 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following will create hamburger menu?
Correct Answer: Option B — .icon-bar
Detailed Academic Explanation:
.icon-bar is the correct answer to “Which of the following will create hamburger menu”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 6 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What clears floats?
Correct Answer: Option B — .clearfix
Detailed Academic Explanation:
.clearfix is the correct answer to “What clears floats”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 7 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which element is used to show the text slowly?
Correct Answer: Option B — <blink>
Detailed Academic Explanation:
<blink> is the correct answer to “Which element is used to show the text slowly”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 8 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which one of the following will set the viewport to contain given bounds?
Correct Answer: Option A — fitBounds()
Detailed Academic Explanation:
fitBounds() is the correct answer to “Which one of the following will set the viewport to contain given bounds”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 9 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which value is there for autoplaying the YouTube video?
Correct Answer: Option B — 1
Detailed Academic Explanation:
1 is the correct answer to “Which value is there for autoplaying the YouTube video”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 10 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following specifies the expiry time for cached location information?
Correct Answer: Option A — maximumAge
Detailed Academic Explanation:
maximumAge is the correct answer to “Which of the following specifies the expiry time for cached location information”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 11 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many columns are there in the basic grid of a skeleton?
Correct Answer: Option B — 12
Detailed Academic Explanation:
12 is the correct answer to “How many columns are there in the basic grid of a skeleton”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 12 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What creates black navigation bar?
Correct Answer: Option A — .navbar-inverse
Detailed Academic Explanation:
.navbar-inverse is the correct answer to “What creates black navigation bar”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 13 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which element represents a scalar value within the given range?
Correct Answer: Option B — <meter>
Detailed Academic Explanation:
<meter> is the correct answer to “Which element represents a scalar value within the given range”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 14 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which will specify placement of controls on map?
Correct Answer: Option A — ControlPosition
Detailed Academic Explanation:
ControlPosition is the correct answer to “Which will specify placement of controls on map”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 15 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which attribute is used for data binding?
Correct Answer: Option C — datasrc
Detailed Academic Explanation:
datasrc is the correct answer to “Which attribute is used for data binding”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 16 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following allows an element to lock to an area on the page?
Correct Answer: Option A — affix
Detailed Academic Explanation:
affix is the correct answer to “Which of the following allows an element to lock to an area on the page”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 17 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Polyline will not support the property of . . . . . . . .
Correct Answer: Option D — Fillcolor
Detailed Academic Explanation:
Fillcolor is the correct answer to “Polyline will not support the property of . . . . . . . .”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 18 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which element is used for YouTube videos?
Correct Answer: Option A — <iframe>
Detailed Academic Explanation:
<iframe> is the correct answer to “Which element is used for YouTube videos”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 19 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following forces an element to be hidden?
Correct Answer: Option A — .hidden
Detailed Academic Explanation:
.hidden is the correct answer to “Which of the following forces an element to be hidden”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 20 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following will add feedback icons for inputs?
Correct Answer: Option D — .has-feedback
Detailed Academic Explanation:
.has-feedback is the correct answer to “Which of the following will add feedback icons for inputs”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 21 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
The default value for an interval is . . . . . . . .
Correct Answer: Option B — 5000
Detailed Academic Explanation:
5000 is the correct answer to “The default value for an interval is . . . . . . . .”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 22 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which function helps in identifying compatibility of plug-in and browser?
Correct Answer: Option B — NPN_Version
Detailed Academic Explanation:
NPN_Version is the correct answer to “Which function helps in identifying compatibility of plug-in and browser”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 23 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following event will be called when user's mouse exits map container?
Correct Answer: Option A — mouseout
Detailed Academic Explanation:
mouseout is the correct answer to “Which of the following event will be called when user's mouse exits map container”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 24 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following adds default styles for dropdown menu container?
Correct Answer: Option A — .dropdown-menu
Detailed Academic Explanation:
.dropdown-menu is the correct answer to “Which of the following adds default styles for dropdown menu container”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 25 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following changes order of the grid columns?
Correct Answer: Option A — .col-*-pull-*
Detailed Academic Explanation:
.col-*-pull-* is the correct answer to “Which of the following changes order of the grid columns”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 26 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following will display red alert box?
Correct Answer: Option B — .alert-danger
Detailed Academic Explanation:
.alert-danger is the correct answer to “Which of the following will display red alert box”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 27 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following event does not take a MouseEvent argument in Map()?
Correct Answer: Option B — drag
Detailed Academic Explanation:
drag is the correct answer to “Which of the following event does not take a MouseEvent argument in Map()”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 28 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which is not a tool to build responsive websites?
Correct Answer: Option A — skeleton
Detailed Academic Explanation:
skeleton is the correct answer to “Which is not a tool to build responsive websites”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 29 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following specifies header text of popover?
Correct Answer: Option A — title
Detailed Academic Explanation:
title is the correct answer to “Which of the following specifies header text of popover”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 30 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following class will show blue text?
Correct Answer: Option A — .text-primary
Detailed Academic Explanation:
.text-primary is the correct answer to “Which of the following class will show blue text”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 31 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
The property that is not supported by Polyline but by Polygon is . . . . . . . .
Correct Answer: Option B — fillOpacity
Detailed Academic Explanation:
fillOpacity is the correct answer to “The property that is not supported by Polyline but by Polygon is . . . . . . . .”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 32 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is not the property of Map()?
Correct Answer: Option D — zoom
Detailed Academic Explanation:
zoom is the correct answer to “Which of the following is not the property of Map()”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 33 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is a container to enhance input by adding an icon?
Correct Answer: Option C — .input-group
Detailed Academic Explanation:
.input-group is the correct answer to “Which of the following is a container to enhance input by adding an icon”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 34 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which class makes a text stand out?
Correct Answer: Option C — .lead
Detailed Academic Explanation:
.lead is the correct answer to “Which class makes a text stand out”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 35 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which attribute specify a column name from the data source object?
Correct Answer: Option A — datafld
Detailed Academic Explanation:
datafld is the correct answer to “Which attribute specify a column name from the data source object”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 36 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which plugin allows the element to become locked or sticky?
Correct Answer: Option C — .affix
Detailed Academic Explanation:
.affix is the correct answer to “Which plugin allows the element to become locked or sticky”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 37 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following is added to link or header element?
Correct Answer: Option D — .navbar-brand
Detailed Academic Explanation:
.navbar-brand is the correct answer to “Which of the following is added to link or header element”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 38 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which element sets default font face, size and color for other elements?
Correct Answer: Option B — <basefont>
Detailed Academic Explanation:
<basefont> is the correct answer to “Which element sets default font face, size and color for other elements”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 39 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following aligns media objects?
Correct Answer: Option B — .media
Detailed Academic Explanation:
.media is the correct answer to “Which of the following aligns media objects”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 40 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which class is a container for responsive columns?
Correct Answer: Option D — .row
Detailed Academic Explanation:
.row is the correct answer to “Which class is a container for responsive columns”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
✓Link copied to clipboard
Continue Your Practice
Advance Html — Part 2
Master the next curriculum module with 40 exam-standard MCQs.
💡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.