Questions
HTML questions
Choose a question page, learn the concept, then test your understanding with a quiz.
WebSockets vs Server-Sent Events (EventSource): Differences, Use Cases, and When to Choose Each
Learn the difference between WebSockets and Server-Sent Events, when to use each, and how browser-server communication works.
What Is a Clearfix in CSS? Understanding Float Clearing and Layout Behavior
Learn what a clearfix is in CSS, why floated elements affect parent layout, and how clearfix fixes collapsed containers with examples.
What X-UA-Compatible Does in HTML for Internet Explorer
Learn what the X-UA-Compatible meta tag does, when IE=edge matters, and why modern HTML pages usually should not use it.
What multipart/form-data Means in HTML Forms
Learn what enctype="multipart/form-data" means in HTML forms, when to use it, and how it affects file uploads and form submission.
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.
localStorage, sessionStorage, Sessions, and Cookies in JavaScript
Learn the differences between localStorage, sessionStorage, server sessions, and cookies, including security, lifetime, limits, and use cases.
sessionStorage vs localStorage in JavaScript: Benefits and Use Cases
Learn when to use JavaScript sessionStorage versus localStorage, including lifecycle, tab isolation, performance, security, and examples.
Page 8 of 8 - 151 questions