4 ms·
I love how "good" parts fail. Don't use "click here" [1] <audio> <source /> <p><a>Birds singing in the morging</a></p> </audio> How would
by sergeykish 6y ago
I love how "good" parts fail. Don't use "click here" [1]
<audio>
<source />
<p><a>Birds singing in the morging</a></p>
</audio>
How would retina display render <video>?
<video controls>
<source src="video-small.mp4" type="video/mp4" media="all and (max-width:480px)">
<source src="video-small.webm" type="video/webm" media="all and (max-width:480px)">
<source src="video.mp4" type="video/mp4">
<source src="video.webm" type="video/webm">
</video>
And you probably should use min-device-pixel-ratio [2], oh, it is deprecated [3], time to use resolution [4].
Should search index <audio> fallback? Google does [5]. Did you know it does not index <script> and <style> content? [6]
[1] Created Date: 2001 by the QA Team, contributed Sep 2001 by Aaron Swartz https://www.w3.org/QA/Tips/noClickHere https://www.w3.org/QA/Tips/noClickHere
[2] https://iandevlin.com/blog/2012/12/html5/html5-video-for-retina-displays/ https://iandevlin.com/blog/2012/12/html5/html5-video-for-ret...
[3] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz-device-pixel-ratio https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-moz...
[4] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/resolution https://developer.mozilla.org/en-US/docs/Web/CSS/@media/reso...
[5] https://www.google.com/search?gbv=1&q=Your+browser+doesn%27t+support+HTML5+video.+Here+is+site%3Ashkspr.mobi https://www.google.com/search?gbv=1&q=Your+browser+doesn%27t...
[6] http://sergeykish.com/html-script-style-are-not-indexed http://sergeykish.com/html-script-style-are-not-indexed