Skip to main content

Html Fonts_ Tags And Elements — Part 1 MCQs with Explanations

Practice high-yield Programming & Software Development MCQs on Html Fonts_ Tags And Elements — 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
Question 1 of 40
★ FPSC ★ PPSC

All attribute declarations begin with the keyword ____________ followed by the element name, attribute name, attribute type, and default data information.

Question 2 of 40
★ FPSC ★ PPSC

The ________ declaration specifies which characters and delimiters may appear in the application.

Question 3 of 40
★ FPSC ★ PPSC

The __________ defines the syntax of markup constructs and include additional definitions such as character entity references.

Question 4 of 40
★ FPSC ★ PPSC

A/An _________ is essentially a macro that allows a short name to be associated with replacement text.

Question 5 of 40
★ FPSC ★ PPSC

The ___________ keyword begins the declaration of attributes that an element may take. It is followed by the name of the element in question, a list of attribute definitions, and a closing.

Question 6 of 40
★ FPSC ★ PPSC

The __________ begins with a series of parameter entity definitions.

Question 7 of 40
★ FPSC ★ PPSC

The ______________ parameter identifies a character encoding, which is a method of converting a sequence of bytes into a sequence of characters.

Question 8 of 40
★ FPSC ★ PPSC

A model group contains the names of the elements that a tag may enclose.

Question 9 of 40
★ FPSC ★ PPSC

Which event is fired as the mouse is moving over an element when a drag is occurring?

Question 10 of 40
★ FPSC ★ PPSC

The _________ event is fired on the element where the drop occurred at the end of the drag operation.

Question 11 of 40
★ FPSC ★ PPSC

Which of the following property is common in all drag events?

Question 12 of 40
★ FPSC ★ PPSC

_____________ in textboxes and selections on web pages is done automatically, so you do not need to handle dragging yourself.

Question 13 of 40
★ FPSC ★ PPSC

Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.

Question 14 of 40
★ FPSC ★ PPSC

Which of the following property is used to determine which drag operation was desired?

Question 15 of 40
★ FPSC ★ PPSC

What is the correct HTML for creating a hyperlink ? 1. <a>http://www.examveda.com</a> 2. <a name=”http://www.examveda.com”> examveda.com</a> 3. <a url=”http://www.examveda.com> examveda.com</a> 4. <a href=http://www.examveda.com> examveda.com</a>

Question 16 of 40
★ FPSC ★ PPSC

What is the correct HTML code for inserting an image ? 1. <img>image.gif</img> 2. <img href=”image.gif/> 3. <img src=”image.gif”>

Question 17 of 40
★ FPSC ★ PPSC

______________ should include data of two types; the first should be the URL using the type text/uri-list, and the second is the URL using the text/plain type.

Question 18 of 40
★ FPSC ★ PPSC

A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.

Question 19 of 40
★ FPSC ★ PPSC

_____________ and elements in a document may be dragged using the application/x-moz-node type.

Question 20 of 40
★ FPSC ★ PPSC

The tag which allows you to nest other HTML tags within the description 1. <CAPTION> 2. <TD> 3. <TR>

Question 21 of 40
★ FPSC ★ PPSC

The first tag inside <TABLE> tag is 1. <HEAD> 2. <CAPTION> 3. <TH> 4. <TD>

Question 22 of 40
★ FPSC ★ PPSC

Which tag will you add to specify a font for your whole page ? 1. <defaultfont> 2. <targetfont> 3. <basefont> 4. <font>

Question 23 of 40
★ FPSC ★ PPSC

The main container for <TR>, <TD> and <TH> is. 1. <DATA> 2. <GROUP> 3. <TABLE>

Question 24 of 40
★ FPSC ★ PPSC

The tag used for creating hypertext and hypermedia links is. 1. <HR> 2. <BR> 3. <PRE> 4. <A>

Question 25 of 40
★ FPSC ★ PPSC

Choose the correct HTML tag for the largest heading. 1. <h1> 2. <h2> 3. <h4> 4. <h6>

Question 26 of 40
★ FPSC ★ PPSC

To created a bulleted list, use 1. <ol> 2. <ul> 3. <il>

Question 27 of 40
★ FPSC ★ PPSC

What kind of list will <ol> tags create ?

Question 28 of 40
★ FPSC ★ PPSC

The tag which is used to establish the absolute base for relative URLs used in the documents hypertext links. 1. <BODY> 2. <TITLE> 3. <BASE> 4. <BR>

Question 29 of 40
★ FPSC ★ PPSC

The <BASE> tag is designed to appear only between 1. <BODY> 2. <HEAD> 3. <TITLE> 4. <PRE>

Question 30 of 40
★ FPSC ★ PPSC

HTML tags are recognized by 1. <! 2. <= => 3. < >

Question 31 of 40
★ FPSC ★ PPSC

Choose the correct HTML tag to make a text bold 1. <bd> 2. <bold> 3. <bl> 4. <b>

Question 32 of 40
★ FPSC ★ PPSC

Which tag adds a paragraph break after the text ? 1. <BR> 2. <P> 3. <PARAGRAPH> 4. <HR>

Question 33 of 40
★ FPSC ★ PPSC

How can you make a list that list the items with numbers ? 1. <ul> 2. <list> 3. <ol>

Question 34 of 40
★ FPSC ★ PPSC

Which tag will add rows to your tables ? 1. <tr> and </tr> 2. <th> and </th> 3. <td> and </td>

Question 35 of 40
★ FPSC ★ PPSC

Which of the following is underline tag ? 1. <PRE> 2. <UL> 3. <U> 4. <HR>

Question 36 of 40
★ FPSC ★ PPSC

Which tag can set the background color for your page ? 1. <body> 2. <font> 3. <head> 4. <title>

Question 37 of 40
★ FPSC ★ PPSC

<P> is called

Question 38 of 40
★ FPSC ★ PPSC

The <small> and <big> tags are special in what way ?

Question 39 of 40
★ FPSC ★ PPSC

Choose the correct HTML tag to left-align the content inside a table cell 1. <td leftalign> 2. <td align=”left”> 3. <td valign=”left”> 4. <td="left">

Question 40 of 40
★ FPSC ★ PPSC

The tag which allows some Web server search engines to search your Web page. 1. <SEARCH> 2. <ISINDEX> 3. <HEAD> 4. <LINK>

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