HTML MCQs with answers Page - 1

Dear candidates you will find MCQ questions of HTML here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

H

Harikesh • 8.04K Points
Tutor III

Q. State whether the given statement is true or false. !DOCTYPE is case sensitive”

  • (A) True
  • (B) False
  • (C) ---
  • (D) ---

H

Harikesh • 8.04K Points
Tutor III

Q. Choose the correct statement of HTML

  • (A) In traditional XHTML close tag for some elements is optional but not encouraged
  • (B) In traditional HTML close tag for some elements is optional but not encouraged
  • (C) In both traditional XHTML and HTML close tag for some elements is optional
  • (D) None of the mentioned

H

Harikesh • 8.04K Points
Tutor III

Q. Which of the following is not a difference between HTML and XHTML

  • (A) Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”
  • (B) Tags and attributes are case-insensitive in HTML but not in XHTML
  • (C) Special characters must be escaped using character entities in XHTML unlike HTML
  • (D) None of the mentioned

H

Harikesh • 8.04K Points
Tutor III

Q. What indicates the content in file is HTML when delivered on the network.

  • (A) The extension of the file “.html”
  • (B) The “content-type” header
  • (C) Both “.html” extension and “content-type” header
  • (D) None of the mentioned

H

Harikesh • 8.04K Points
Tutor III

Q. State whether the given statement is true or false. “We can intermix XHTML and HTML 4.01 documents”

  • (A) True
  • (B) False
  • (C) ---
  • (D) ---

H

Harikesh • 8.04K Points
Tutor III

Q. HTML and XHTML stands for

  • (A) Hyper Text Markup Language and EXtensible HyperText Markup Language
  • (B) Hyper Text Markup Language and EXtensible HyperText Marking Language
  • (C) Hyper Text Marking Language and EXtensible HyperText Marking Language
  • (D) None of the mentioned

H

Harikesh • 8.04K Points
Tutor III

Q. Choose the correct tag for largest heading in HTML.

  • (A) h6
  • (B) heading
  • (C) h1
  • (D) head

H

Harikesh • 8.04K Points
Tutor III

Q. Which of the following are table tags?

  • (A) table, thead, tr, td
  • (B) colspan, table, tr
  • (C) table, tt, tr, td
  • (D) none of the mentioned

H

Harikesh • 8.04K Points
Tutor III

Q. Choose the correct XHTML for width attribute and its value.

  • (A) width=80
  • (B) width=”80″
  • (C) WIDTH=”80″
  • (D) WIDTH=80

H

Harikesh • 8.04K Points
Tutor III

Q. Which of the following options follows content model in HTML?

Code:
i.<ul>
   <p>Option one </p>
  </ul>
ii.<ul>
    <li>Option two </li>
   </ul>
  • (A) i
  • (B) ii
  • (C) i and ii
  • (D) None of the mentioned

Loding content...

Download our easy to use, user friendly Android App from Play Store. And learn MCQs with one click.

Image

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.