Complete the code to declare the document type for HTML5.
<![1] html>The correct declaration for HTML5 document type is <!DOCTYPE html>. It tells the browser to render the page in standards mode.
Complete the code to start a basic HTML5 document with the correct DOCTYPE declaration.
[1] <html lang="en"> <head> <meta charset="UTF-8"> <title>My Page</title> </head> <body> <p>Hello!</p> </body> </html>
The DOCTYPE declaration must be exactly <!DOCTYPE html> to ensure the browser uses HTML5 standards.
Fix the error in the DOCTYPE declaration to make it valid HTML5.
<![1] html>The DOCTYPE declaration must be exactly <!DOCTYPE html>. Adding extra words or lowercase causes errors.
Fill both blanks to complete the minimal HTML5 document with correct DOCTYPE and language attribute.
[1] <html [2]> <head> <meta charset="UTF-8"> <title>Test</title> </head> <body></body> </html>
The DOCTYPE declaration must be <!DOCTYPE html> and the lang attribute should be set to "en" for English.
Fill all three blanks to create a valid HTML5 document with DOCTYPE, language attribute, and meta viewport tag.
[1] <html [2]> <head> <meta charset="UTF-8"> <meta [3]> <title>Responsive</title> </head> <body></body> </html>
The DOCTYPE must be <!DOCTYPE html>, the language attribute set to English lang="en", and the viewport meta tag to make the page responsive.