CommerceBasic Html MCQs
Practice Basic Html MCQs for competitive exams.
Basic Html MCQs
Practice questions from this topic.
Rendering engine is not responsible for
- A. parsing the markup content (HTML)
- B. parsing style information (CSS, XSL, and so on)
- C. generating a visual presentation of the formatted content including media files referenced
- D. none of the mentioned
Correct Answer: D
Identify the count of mistakes in the following markup.
- A. 2
- B. 3
- C. 1
- D. 0
Correct Answer: B
Which of the following is not a correct (X)HTML rule?
- A. Attributes should be quoted
- B. Tags should nest not tag
- C. Unused elements may be minimized
- D. Unknown attributes are ignored by the browser
Correct Answer: D
Which of the following markup is correct? i. is in error as tags cross ii. is not since tags nest
- A. i
- B. ii
- C. i and ii
- D. None of the mentioned
Correct Answer: B
Which of the following options follows content model in HTML? i. ii.
- A. i
- B. ii
- C. i and ii
- D. None of the mentioned
Correct Answer: B
Choose the correct XHTML for width attribute and its value.
- A. width=80
- B. width=”80″
- C. WIDTH=”80″
- D. WIDTH=80
Correct Answer: B
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
Correct Answer: A
Choose the correct tag for largest heading in HTML.
- A. h6
- B. heading
- C. h1
- D. head
Correct Answer: C
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
Correct Answer: A
State whether the given statement is true or false. “We can intermix XHTML and HTML 4.01 documents”
- A. True
- B. False
Correct Answer: B
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
Correct Answer: B
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. None of the mentioned
- C. Tags and attributes are case-insensitive in HTML but not in XHTML
- D. Special characters must be escaped using character entities in XHTML unlike HTML
Correct Answer: B