That's my favorite part when writing tables in GitHub comments: <table> <th>1 <th>2 <tr> <td>a <td>b </table> <-- skip this if the table is at the end of the comment
-
-
-
Everything you do here except for omitting </table> is actually valid. Same for </p> and </li> and so on.
End of conversation
New conversation -
-
-
What's the usecase for this
-
I use it all the time when creating minimal test cases for
@ChromeDevTools behavior. Admittedly, perhaps not a very common use case :) It’s mostly an interesting curiosity.
End of conversation
New conversation -
-
-
It also reminds me of this: data:text/html,<body bgcolor="mathias">
- 1 more reply
New conversation -
-
-
I actually think this is valid HTML! (spec: https://html.spec.whatwg.org/#parsing ) First, it is normalized to `<html><head><style>...</head>` (see 12.2.4.1 on insertion modes. This is my favorite part of the spec (that I've read so far ...)
-
Second, I don't think failing to close a tag is considered a parse error. I couldn't find exactly how the spec says it should be handled, but note that it isn't listed as an error in this table: https://html.spec.whatwg.org/#parse-errors
- 1 more reply
New conversation -
-
-
data:text/html,.<style style="display:block;background:white;" contenteditable>html{background:hotpink} make it editablepic.twitter.com/rsyRKJ2iRP
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
You don’t have to close anything in CSS either! data:text/html,<style>html:before{content:"test
-
I hope you will forgive me, but I don’t tell my students. Things like that make long back to xhtml :)
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
Useful for minimal test cases:
data:text/html,<style>html{background:hotpink}