5
HTML5 Doctype Declaration
beginner
•
Multiple Choice
Completed
What is the correct and valid doctype declaration for modern HTML5?
Helpful Hint:
HTML5 simplified the doctype drastically compared to HTML 4.01.
Expected Solution:
<!DOCTYPE html>
Explanation: In HTML5, the doctype is case-insensitive and simply written as `<!DOCTYPE html>`.
Advertisement
Google AdSense Slot (LEADERBOARD)
Automated High-CTR Ad Rail • Set Publisher ID in config/adsense.php