Single Choice Not Set

QWhich of the above tags in HTML5 is used to initialise the document type?

ID: #4809 HTML Basic MCQ 156 views
Question Info
#4809Q ID
Not SetDifficulty
HTML Basic MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A
    
    <!DOCTYPE html>
    
  • B
    
    <DOCTYPE>
    
  • C
    
    <!DOCTYPE >
    
  • D
    
    <DOCTYPE html>
    
Correct Answer

Explanation


It is important to include the <!DOCTYPE> declaration at the beginning of your HTML document because it helps the browser to correctly render the content of the page. 
If the <!DOCTYPE> declaration is not present or is incorrect, the browser may not render the page correctly or may switch to a compatibility mode.

Share This Question

Challenge a friend or share with your study group.