What's wrong with this HTML, and is it valid?
htmhell.dev·8h
🧩Web Components
Preview
Report Post

by Patrick Brosset published on Dec 08, 2025

Behold this magnificient HTML document:

<html>  <body marginheight=150 marginwidth=300 bgcolor=black text=white>    <marquee>      <b>Hello <i>HTML</b> World!</i>    </marquee>

To try it in your browser, copy the following line and paste it into the address bar of your browser:

data:text/html,<html><body marginheight=150 marginwidth=300 bgcolor=black text=white><marquee><b>Hello <i>HTML</b> World!</i></marquee>

What’s wrong with it?

Everything? I mean, this HTML looks like it was written in 1998!

The document is in quirks mode because it lacks a proper DOCTYPE preamble.

If you’ve never heard of quirks mode, then you’re probab…

Similar Posts

Loading similar posts...