FUNDAMENTALS OF COMPUTER

WEB BROWSERS TECHNOLOGY

WORLD WIDE WEB

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
<!DOCTYPE> informs the browsers that it is actually an HTML 5 document.
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -A doctype declaration tells the browser that the page to be rendered is written in HTML. To declare an HTML5 doctype, ‘<! DOCTYPE html>‘ is required in the first line of your HTML document. Doctype declaration for HTML5 is not case sensitive and does not require a closing tag.

Detailed explanation-2: -What is doctype HTML? Doctype HTML is a declaration that tells the browser what version of HTML the document is written in. This declaration appears as the very first line in an HTML file.

Detailed explanation-3: -Types: In the previous versions of HTML, there were different kinds of Doctypes that were declared in each version of HTML, but in HTML5 there is only one type of Doctype available.

There is 1 question to complete.