Practice high-yield Programming & Software Development MCQs on Advance 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
🎉 Set complete! All 40 questions answered.
Question 1 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which button let us move the map to the current position of the device?
Correct Answer: Option A — currentPositionBtn
Detailed Academic Explanation:
currentPositionBtn is the correct answer to “Which button let us move the map to the current position of the device”. 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 makes a table more compact?
Correct Answer: Option C — .table-condensed
Detailed Academic Explanation:
.table-condensed is the correct answer to “Which of the following makes a table more compact”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 3 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which property specifies the path to the project when running in web server?
Correct Answer: Option A — http_path
Detailed Academic Explanation:
http_path is the correct answer to “Which property specifies the path to the project when running in web server”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 4 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What activates the collapsible element with an option?
Correct Answer: Option A — .collapse("options")
Detailed Academic Explanation:
.collapse("options") is the correct answer to “What activates the collapsible element with an option”. 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 makes the button appear pressed?
Correct Answer: Option C — .active
Detailed Academic Explanation:
.active is the correct answer to “Which of the following makes the button appear pressed”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 6 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
When the user leaves instance's page which function is called?
Correct Answer: Option B — NPP_Destroy
Detailed Academic Explanation:
NPP_Destroy is the correct answer to “When the user leaves instance's page which function is called”. 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 of the following is not a feature associated with LESS?
Correct Answer: Option B — PHP
Detailed Academic Explanation:
PHP is the correct answer to “Which of the following is not a feature associated with LESS”. 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 of the following creates toggleable tabs?
Correct Answer: Option A — .tab-pane
Detailed Academic Explanation:
.tab-pane is the correct answer to “Which of the following creates toggleable tabs”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 9 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
The value of fillOpacity lies between . . . . . . . .
Correct Answer: Option B — 0.0 and 1.0
Detailed Academic Explanation:
0.0 and 1.0 is the correct answer to “The value of fillOpacity lies between . . . . . . . .”. 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 value specifies transition acceleration?
Correct Answer: Option A — timing-function
Detailed Academic Explanation:
timing-function is the correct answer to “Which value specifies transition acceleration”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 11 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following spans full width of screen?
Correct Answer: Option C — .container-fluid
Detailed Academic Explanation:
.container-fluid is the correct answer to “Which of the following spans full width of screen”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 12 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which navigator object property returns a geolocation object?
Correct Answer: Option B — geolocation
Detailed Academic Explanation:
geolocation is the correct answer to “Which navigator object property returns a geolocation object”. 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 of the following indicates dropdown functionality?
Correct Answer: Option A — .caret
Detailed Academic Explanation:
.caret is the correct answer to “Which of the following indicates dropdown functionality”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 14 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many glyphs does bootstrap include?
Correct Answer: Option C — 260
Detailed Academic Explanation:
260 is the correct answer to “How many glyphs does bootstrap include”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 15 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many columns are used for grid system by bootstrap?
Correct Answer: Option D — 12
Detailed Academic Explanation:
12 is the correct answer to “How many columns are used for grid system by bootstrap”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 16 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What lines up the terms and descriptions in <dl> element side by side?
Correct Answer: Option B — .dl-horizontal
Detailed Academic Explanation:
.dl-horizontal is the correct answer to “What lines up the terms and descriptions in <dl> element side by side”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 17 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Progress bars are not supported in . . . . . . . .
Correct Answer: Option B — Internet Explorer 9
Detailed Academic Explanation:
Internet Explorer 9 is the correct answer to “Progress bars are not supported in . . . . . . . .”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 18 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
For single locations on a map, we use the overlay for . . . . . . . .
Correct Answer: Option A — Marker
Detailed Academic Explanation:
Marker is the correct answer to “For single locations on a map, we use the overlay for . . . . . . . .”. 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 property specifies the folder name where CSS style sheets should be saved?
Correct Answer: Option C — css_dir
Detailed Academic Explanation:
css_dir is the correct answer to “Which property specifies the folder name where CSS style sheets should be saved”. 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 is not the directory in Mac OS X for plug-ins?
Correct Answer: Option D — MOZ_PLUGIN_PATH
Detailed Academic Explanation:
MOZ_PLUGIN_PATH is the correct answer to “Which of the following is not the directory in Mac OS X for plug-ins”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 21 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which of the following fades the model in and out?
Correct Answer: Option C — .fade
Detailed Academic Explanation:
.fade is the correct answer to “Which of the following fades the model in and out”. 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 element is used for bringing attention?
Correct Answer: Option C — <b>
Detailed Academic Explanation:
<b> is the correct answer to “Which element is used for bringing attention”. 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 adds plain text next to form label?
Correct Answer: Option A — .form-control-static
Detailed Academic Explanation:
.form-control-static is the correct answer to “Which of the following adds plain text next to form label”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 24 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Adjacent sibling selector is defined with the notation . . . . . . . .
Correct Answer: Option D — +
Detailed Academic Explanation:
+ is the correct answer to “Adjacent sibling selector is defined with the notation . . . . . . . .”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 25 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Bootstrap does not use . . . . . . . .
Correct Answer: Option C — PHP
Detailed Academic Explanation:
PHP is the correct answer to “Bootstrap does not use . . . . . . . .”. 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 element denotes that the text is a short fragment of computer code?
Correct Answer: Option A — <code>
Detailed Academic Explanation:
<code> is the correct answer to “Which element denotes that the text is a short fragment of computer code”. 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 centers tabs/pills?
Correct Answer: Option A — .nav-justified
Detailed Academic Explanation:
.nav-justified is the correct answer to “Which of the following centers tabs/pills”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 28 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
getCurrentPosition does not take the argument?
Correct Answer: Option D — Timeout
Detailed Academic Explanation:
Timeout is the correct answer to “getCurrentPosition does not take the argument”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 29 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
What is the prefix of all the browser-specific functions?
Correct Answer: Option C — NPN
Detailed Academic Explanation:
NPN is the correct answer to “What is the prefix of all the browser-specific functions”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 30 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
For inserting plain text we use . . . . . . . .
Correct Answer: Option A — .form-control-static
Detailed Academic Explanation:
.form-control-static is the correct answer to “For inserting plain text we use . . . . . . . .”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 31 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
Which element defines parameters for <object> element?
Correct Answer: Option B — <param>
Detailed Academic Explanation:
<param> is the correct answer to “Which element defines parameters for <object> element”. 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 is a container for slide items?
Correct Answer: Option C — .carousel-inner
Detailed Academic Explanation:
.carousel-inner is the correct answer to “Which is a container for slide items”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 33 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
For style foundation Bootstrap uses . . . . . . . .
Correct Answer: Option A — LESS
Detailed Academic Explanation:
LESS is the correct answer to “For style foundation Bootstrap uses . . . . . . . .”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 34 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
For background sound obsolete element was . . . . . . . .
Correct Answer: Option A — <bgsound>
Detailed Academic Explanation:
<bgsound> is the correct answer to “For background sound obsolete element was . . . . . . . .”. 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 method is used to display a message on the status line?
Correct Answer: Option C — NPN_Status
Detailed Academic Explanation:
NPN_Status is the correct answer to “Which method is used to display a message on the status line”. 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 of the following specifies relationship between current document and external resource?
Correct Answer: Option C — <link>
Detailed Academic Explanation:
<link> is the correct answer to “Which of the following specifies relationship between current document and external resource”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 37 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
How many classes does bootstrap grid system has?
Correct Answer: Option D — 4
Detailed Academic Explanation:
4 is the correct answer to “How many classes does bootstrap grid system has”. 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 of the following is keyboard input element?
Correct Answer: Option B — <kbd>
Detailed Academic Explanation:
<kbd> is the correct answer to “Which of the following is keyboard input element”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 39 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
HTML object tag to embed multimedia will not embed in . . . . . . . .
Correct Answer: Option D — images
Detailed Academic Explanation:
images is the correct answer to “HTML object tag to embed multimedia will not embed in . . . . . . . .”. This question is standard in competitive examination syllabi for Advance Html.
💡Key Conceptual Anchor:Advance Html
Question 40 of 40
★ FPSC
★ PPSC
★ FPSC
★ PPSC
MapTypeControlOptions field may not contain . . . . . . . .
Correct Answer: Option D — google.maps.MapTypeControlStyle.LARGE
Detailed Academic Explanation:
google.maps.MapTypeControlStyle.LARGE is the correct answer to “MapTypeControlOptions field may not contain . . . . . . . .”. 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 1
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.