-
What is the correct syntax of doctype in HTML5?
-
- <doctype html!>
- <doctype html>
- </doctype html>
- <!doctype html>
- None of these
Correct Option: D
The correct syntax of HTML5 doctype is <!doctype html>, doctype is the very first thing to write in HTML5. <!doctype html> or <!DOCTYPE HTML> both are same because ‘doctype’ keyword is not case sensitive.