Questions
HTML questions
Choose a question page, learn the concept, then test your understanding with a quiz.
When CDATA Is Necessary in HTML Script Tags
Learn when CDATA is needed in script tags, why it mattered in XHTML, and what modern HTML uses instead with clear examples.
Where to Put Script Tags in HTML: Head vs Body and Best Practices
Learn where to place script tags in HTML, when to use head or body, and how defer and async affect page loading and execution.
Why Browsers Treat Invalid HTML Colors Like “chucknorris” as a Color
Learn why invalid HTML color values like “chucknorris” still produce colors, and how browsers parse legacy color attributes.
Why Self-Closing Script Tags Don’t Work in HTML and XHTML
Learn why self-closing script tags fail in HTML, how browsers parse script elements, and what changes in XHTML parsing.
jQuery Element Creation and DOM Manipulation vs document.createElement
Learn how to create and append DOM elements with jQuery instead of document.createElement, with examples, comparisons, and common mistakes.
Page 6 of 6 - 105 questions