Liked
Terence Eden (@Edent@mastodon.social)
Post details
In today's adventures of finding out weird things you can do with HTML… You should not put a `<style>` element anywhere other than the `<head>` So `<body><style> ...CSS...</style></body>` is an error. (It works, because browsers are tolerant.) But you *can* put a `<link rel="stylesheet">` element in a body. Obviously, that needs an *external* data source for the CSS. So you can cheat by Base64 encoding it! `<body><link rel="stylesheet" type="text/css" href="data:text/css;base64,LyoqCi…">`
This post was filed under likes.
Interactions with this post
Interactions with this post
Below you can find the interactions that this page has had using WebMention.
Have you written a response to this post? Let me know the URL:
Do you not have a website set up with WebMention capabilities? You can use Comment Parade.