2 ms·
It is questionable even in markup. Attribute restrictions (unique, can't be structured) gave rise to minilanguages class="foo bar" lang="en-US" sty
by sergeykish 6y ago
It is questionable even in markup. Attribute restrictions (unique, can't be structured) gave rise to minilanguages
class="foo bar"
lang="en-US"
style="margin:0;padding:0"
XSLT blows away promise of structured data with XPath and functions like concat in attributes. And it is a special case in DOM and XSLT making it much harder to manipulate.
Meanwhile <script> and <style> content hidden by default.
- chrismorgan 6y ago> Meanwhile <script> and <style> content hidden by default. This is a fun thing that most people don’t realise. You can totally do this in CSS: head, title, script, style { display: block; } And bam, your document title and the contents of any inline scripts and stylesheets are now visible on the page.