Reputation: 39243
In Internet Explorer back in the day you could type this into the URL bar:
about:<body bgcolor=red>
And the screen would turn red.
Is there an equivalent "heredoc" syntax for loading HTML via a URL in Chrome?
Upvotes: 2
Views: 219
Reputation: 723388
A data URI, perhaps?
data:text/html,<body bgcolor=red>
Ironically, this does not work on IE, although MSDN claims this is due to security reasons.
Upvotes: 3