Practice mode HTML

Which is the correct document type declaration for an HTML5 page?

Correct answer B. <!DOCTYPE html>

Explanation

HTML5 uses the short declaration at the very top of the page, which tells the browser to render the document in standards mode.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.