Keyboard Shortcuts N Next post
P Previous post
S Save / unsave
R Read aloud
T Toggle theme
/ Focus search
Esc Close panels
🔥
Ready to read...
General HTML Questions Page 11
html html Questions Questions

General HTML Questions Page 11

Reviewed & accurate
AI Summary




HTML Tags MCQ Questions and Answers Part 3 with Solutions

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

QUESTION 61

<a> and </a> are the tags used for?

  • a) Adding links to your page
  • b) Aligning text
  • c) Audio-voiced text
  • d) None
✅ Answer: a) Adding links to your page

The anchor tag <a href="url"> creates hyperlinks, which are the backbone of web navigation.

✏️ Text Formatting Tags MCQs

QUESTION 62

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

  • a) They can be repeated
  • b) They work on anything
  • c) They are for images only
  • d) All the above
✅ Answer: a) They can be repeated

These tags can be nested multiple times to repeatedly increase or decrease the text size.

QUESTION 63

The <br> tag adds what to your webpage?

  • a) Little bubbles
  • b) Long breaks
  • c) Line break
  • d) Line bubbles
✅ Answer: c) Line break

<br> inserts a single line break. It is an empty tag with no closing tag.

QUESTION 64

What tag adds a paragraph break after the text?

  • a) <PARAGRAPH>
  • b) <P>
  • c) <BR>
  • d) All the above
✅ Answer: b) <P>

The <p> tag defines a paragraph and adds spacing before and after automatically.

QUESTION 65

Besides <B>, another way to make text bold is what?

  • a) <strong>
  • b) <dark>
  • c) <fat>
  • d) <bold>
✅ Answer: a) <strong>

<strong> is semantically better than <b> because it indicates importance — good for SEO and accessibility.

QUESTION 68

The tag that is used to make the text italic is:

  • a) i
  • b) em
  • c) Both
  • d) None
✅ Answer: c) Both

<i> makes text italic visually, while <em> adds semantic emphasis.

QUESTION 69

The tag <strike> is used to:

  • a) Underline the text
  • b) Strike a line through the text
  • c) Lift the text
  • d) Lower the text
✅ Answer: b) Strike a line through the text
QUESTION 75

The tags <s> and <strike> are used for the same purpose.

  • a) True
  • b) False
✅ Answer: a) True

Both display strikethrough text. <s> is the modern HTML5 standard.

🔤 Font Size and Style Tags MCQs

QUESTION 66

Which of these is not valid HTML?

  • a) <font face="verdana,arial">
  • b) <fontface="verdana">
  • c) <font face="verdana">
  • d) All are valid
✅ Answer: b) <fontface="verdana">

There must be a space between the tag name and its attribute.

QUESTION 67

The tag that is used to change the font in a part of a page is:

  • a) <basefont>
  • b) <linefont>
  • c) <changefont>
  • d) <font>
✅ Answer: d) <font>
QUESTION 70

Which of the following HTML statements writes the text in smallest font?

  • a) <font size="2">text</font>
  • b) <font size="7">text</font>
  • c) <font size="5">text</font>
  • d) <font size="1">text</font>
✅ Answer: d) <font size="1">text</font>

Font sizes range from 1 (smallest) to 7 (largest).

QUESTION 71

The statement <big>text</big>:

  • a) Doubles the size of the text
  • b) Increases the size of the text by 1
  • c) Halves the size of the text
  • d) Prints the text as it is
✅ Answer: b) Increases the size of the text by 1
QUESTION 72

The statement <small>text</small>:

  • a) Doubles the size of the text
  • b) Decreases the size of the text by 1
  • c) Halves the size of the text
  • d) Prints the text as it is
✅ Answer: b) Decreases the size of the text by 1

📏 Line Break and Special Tags MCQs

QUESTION 73

The HTML statement <nobr>text</nobr>:

  • a) Turns off automatic line breaks
  • b) Turns off the last recent line break
  • c) It does nothing
  • d) Turns on automatic line breaks
✅ Answer: a) Turns off automatic line breaks

<nobr> means "no break" — it prevents text from wrapping to the next line.

QUESTION 74

The HTML tag that allows the browser to insert a line break even if <nobr> is used:

  • a) <br>
  • b) <wbr>
  • c) Both a & b
  • d) <div>
✅ Answer: b) <wbr>

<wbr> (word break opportunity) overrides <nobr> at a specific point.

✍️ Fill in the Blanks – HTML Tags

QUESTION 76

________ is used to style the text as program code in a monospace font.

✅ Answer: <code>
QUESTION 77

________ is used to indicate that the text is being used for the first time (defining).

✅ Answer: <dfn>
QUESTION 78

The <blink> tag is supported only by __________ browser.

✅ Answer: Netscape

The <blink> tag is obsolete and should never be used in modern websites.

🧩 General HTML Questions

QUESTION 79

Special characters in an HTML page should be given using the symbol:

  • a) *
  • b) +
  • c) ^
  • d) &
✅ Answer: d) &

Example — &amp; displays & and &copy; displays ©. These are called HTML entities.

QUESTION 80

For <marquee>, loop="-1" sets an infinite loop.

  • a) True
  • b) False
✅ Answer: a) True
QUESTION 81

An advantage of using basic HTML to create a document is that ____.

  • a) All word processors can display the document
  • b) All browsers can display the document
  • c) It will print better than a word processing document
  • d) It is easier to write in HTML
✅ Answer: b) All browsers can display the document

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.

🔑 Key Points to Remember:
  • <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)

© 2025 Your Site Name — HTML MCQ Questions and Answers Series. All rights reserved.

Test Your Knowledge
How did you find this?

Comments

Join the discussion! Sign in with your Google or Blogger account, or comment as Anonymous - no account needed. For quick questions, also reach me on Telegram @cytestch.

Comments