HTML Tags MCQ Questions and Answers Part 3 – With Solutions
21+ solved multiple-choice questions on anchor tags, text formatting, font tags, line breaks and special characters — perfect for exams, placements and web development interviews.
HTML (HyperText Markup Language) is the foundation of web development. If you are preparing for computer science exams, campus placements, or web development interviews, these HTML MCQ questions will help you score full marks. Each question below includes the correct answer with a short explanation.
🔗 Hyperlink and Anchor Tag MCQs
<a> and </a> are the tags used for?
The anchor tag <a href="url"> creates hyperlinks, which are the backbone of web navigation.
✏️ Text Formatting Tags MCQs
The <small> and <big> tags are special in what way?
These tags can be nested multiple times to repeatedly increase or decrease the text size.
The <br> tag adds what to your webpage?
<br> inserts a single line break. It is an empty tag with no closing tag.
What tag adds a paragraph break after the text?
The <p> tag defines a paragraph and adds spacing before and after automatically.
Besides <B>, another way to make text bold is what?
<strong> is semantically better than <b> because it indicates importance — good for SEO and accessibility.
The tag that is used to make the text italic is:
<i> makes text italic visually, while <em> adds semantic emphasis.
The tag <strike> is used to:
The tags <s> and <strike> are used for the same purpose.
Both display strikethrough text. <s> is the modern HTML5 standard.
🔤 Font Size and Style Tags MCQs
Which of these is not valid HTML?
There must be a space between the tag name and its attribute.
The tag that is used to change the font in a part of a page is:
Which of the following HTML statements writes the text in smallest font?
Font sizes range from 1 (smallest) to 7 (largest).
The statement <big>text</big>:
The statement <small>text</small>:
📏 Line Break and Special Tags MCQs
The HTML statement <nobr>text</nobr>:
<nobr> means "no break" — it prevents text from wrapping to the next line.
The HTML tag that allows the browser to insert a line break even if <nobr> is used:
<wbr> (word break opportunity) overrides <nobr> at a specific point.
✍️ Fill in the Blanks – HTML Tags
________ is used to style the text as program code in a monospace font.
________ is used to indicate that the text is being used for the first time (defining).
The <blink> tag is supported only by __________ browser.
The <blink> tag is obsolete and should never be used in modern websites.
🧩 General HTML Questions
Special characters in an HTML page should be given using the symbol:
Example — & displays & and © displays ©. These are called HTML entities.
For <marquee>, loop="-1" sets an infinite loop.
An advantage of using basic HTML to create a document is that ____.
HTML is a universal standard supported by every browser — Chrome, Firefox, Safari and Edge.
❓ FAQs on HTML Tags
What is the anchor tag <a> used for in HTML?
The anchor tag creates hyperlinks using the href attribute, allowing users to navigate between pages, sections, or external websites.
What is the difference between <b> and <strong>?
<b> makes text bold visually, while <strong> indicates semantic importance and is better for SEO and accessibility.
Is the <font> tag still used today?
No. The <font> tag is deprecated in HTML5. Use CSS properties like font-family and font-size instead.
What does the <br> tag do?
The <br> tag inserts a single line break without starting a new paragraph.
🎯 Conclusion
These HTML MCQ questions and answers cover the most important tags including anchor tags, formatting tags, font sizing, line breaks and special characters. Mastering them is essential for exams, interviews and certifications.
- <a> creates hyperlinks
- <strong> and <em> are better than <b> and <i> for SEO
- <font> is deprecated — always use CSS
- Special characters use the & symbol (HTML entities)

Comments
Comments
Post a Comment