Skip to content

Commit 4c7b636

Browse files
committed
Adding some html5 love
1 parent 2c1586a commit 4c7b636

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

css/html5demos.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,11 @@ body.view-source #view-source {
258258
font-size: 14px;
259259
}
260260

261+
#html5badge {
262+
display: none;
263+
margin-left: -30px;
264+
}
265+
261266
/** Pretty printing styles. Used with prettify.js. */
262267
pre { font-size: 14px; }
263268
.str { color: #080; }

demos/video.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<title>Video</title>
22
<article>
33
<video>
4-
<source src="assets/dizzy.webm" />
54
<source src="assets/dizzy.mp4" />
5+
<source src="assets/dizzy.webm" />
66
<source src="assets/dizzy.ogv" />
77
</video>
88
<p id="controls">

includes/footer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
<a id="html5badge" href="http://www.w3.org/html/logo/">
2+
<img src="http://blue-harvest.appspot.com/html/logo/badge/html5-badge-h-connectivity-device-graphics-multimedia-performance-semantics-storage.png" width="325" height="64" alt="HTML5 Powered with Connectivity / Realtime, Device Access, Graphics, 3D &amp; Effects, Multimedia, Performance &amp; Integration, Semantics, and Offline &amp; Storage" title="HTML5 Powered with Connectivity / Realtime, Device Access, Graphics, 3D &amp; Effects, Multimedia, Performance &amp; Integration, Semantics, and Offline &amp; Storage">
3+
</a>
14
<footer><a href="/">HTML5 demos</a>/<a id="built" href="http://twitter.com/rem">@rem built this</a>/<a href="#view-source">view source</a></footer>
25
</section>
36
<a href="http://github.com/remy/html5demos"><img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="Fork me on GitHub" /></a>

index.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function spans($list) {
3636
}
3737
?>
3838
<!DOCTYPE html>
39-
<html lang="en">
39+
<html id="home" lang="en">
4040
<head>
4141
<meta charset=utf-8 />
4242
<meta name="viewport" content="width=620" />
@@ -80,6 +80,9 @@ function spans($list) {
8080

8181
<p>All content, code, video and audio is <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.0/uk/">Creative Commons Share Alike 2.0</a></p>
8282
</article>
83+
<a id="html5badge" href="http://www.w3.org/html/logo/">
84+
<img src="http://blue-harvest.appspot.com/html/logo/badge/html5-badge-h-connectivity-device-graphics-multimedia-performance-semantics-storage.png" width="325" height="64" alt="HTML5 Powered with Connectivity / Realtime, Device Access, Graphics, 3D &amp; Effects, Multimedia, Performance &amp; Integration, Semantics, and Offline &amp; Storage" title="HTML5 Powered with Connectivity / Realtime, Device Access, Graphics, 3D &amp; Effects, Multimedia, Performance &amp; Integration, Semantics, and Offline &amp; Storage">
85+
</a>
8386
<footer><a id="built" href="http://twitter.com/rem">@rem built this</a></footer>
8487
</section>
8588

0 commit comments

Comments
 (0)