Commerce

Basic Html MCQs

Practice Basic Html MCQs for competitive exams.

Basic Html MCQs

Practice questions from this topic.

What is the use of Forms in HTML?

  1. A. To display contents of email
  2. B. To display animation effect
  3. C. To collect user’s input
  4. D. None of the Above
Report Error

What is the correct way of describing XML data?

  1. A. XML uses a DTD to describe data
  2. B. XML uses a description node to describe data
  3. C. XML uses XSL to describe the data
  4. D. XML uses a validator to describe the data
Report Error

Output of XML document can be viewed in a

  1. A. Word Processor
  2. B. Web browser
  3. C. Notepad
  4. D. None of the above
Report Error

What is the full form of TCP/IP?

  1. A. transmission control protocol / internet protocol
  2. B. telephone call protocol / international protocol
  3. C. transport control protocol / internet protocol
  4. D. none of the above
Report Error

What is a search engine?

  1. A. A program that searches engines
  2. B. A web site that searches anything
  3. C. A hardware component
  4. D. A machinery engine that search data
Report Error

Which attribute is used with img tag to display the text if image could not load in browser?

  1. A. description
  2. B. name
  3. C. alt
  4. D. id
Report Error

Marquee is a tag in HTML to

  1. A. Display text with scrolling effect
  2. B. Mark the list of items to maintain inqueue
  3. C. Mark the text so that it is hidden in browser
  4. D. Display text with strikeout effect
Report Error

Which attribute is used to name an element uniquely ?

  1. A. class
  2. B. id
  3. C. dot
  4. D. All of the above
Report Error

Why should you specify a background color if you are using an image for the actual background of your page ?

  1. A. So the text shows up better
  2. B. In case the image doesn’t fit right
  3. C. The background color will be shown until the image loads
  4. D. None of the above
Report Error

The most basic element of any HTML page is

  1. A. ASCII text
  2. B. text
  3. C. BCD text
  4. D. None of the above
Report Error

The background image will scroll when the user scrolls down the page, you add which property to the tag ?

  1. A. bgproperties = “fixed”
  2. B. bgproperties = “move”
  3. C. bgproperties = “holdstill”
  4. D. None of the above
Report Error

To set the color for table borders, use ________

  1. A. bgcolor=#003300
  2. B. bgimage=#003300
  3. C. bordercolor=#003300
  4. D. tablecolor=#003300
Report Error