HTML Oddities: Is a newline just another whitespace in attribute values?
1 Articles
1 Articles
HTML Oddities: Is a newline just another whitespace in attribute values?
Consider these two HTML elements: … … Is there any semantic difference between them? Is there any way to target one but not the other? In other words, are they logically different? I think the answer is no. On every browser I've tested, both are the same. Whether using JS or CSS, there's no difference between them. You could replace every \n with a and nothing would break. But is that true for every attribute? Are there some attributes where a n…
Coverage Details
Bias Distribution
- There is no tracked Bias information for the sources covering this story.
To view factuality data please Upgrade to Premium
Ownership
To view ownership data please Upgrade to Vantage