Spot the error in this HTML document structure : < html >< head >< title > Document < /title >< /head >< body >< h1 > Heading < /p >< p > Paragraph < /h1 >< /body >< /html >
Answer : Incorrect nesting of tags
Explanation :The tags are incorrectly nested. The < h1 > tag is incorrectly closed with a < /p > tag and vice versa. The correct structure should be < h1 > Heading < /h1 >< p > Paragraph < /p >.
If our MCQs have been helpful to you, we would truly appreciate it if you could share them on your social media. Sharing is caring, and your support motivates us to keep delivering valuable content. Thank you for your kindness!
Last updated on January 01, 2025 by RGB Web Tech
Written by RGB Web Tech
Multiple Choice Questions
Comprehensive MCQ collection covering diverse topics such as PHP, Python, Ruby, Rust, Java, Android, iOS, Flutter, Big Data, AI, Machine Learning, Cyber Security, Digital Marketing, and more. Enhance your skills with quizzes on programming, data science, app development, CMS, robotics, design tools, and software testing.
"Knowledge is power, and MCQs are the key to unlock it."