Advertisement
electricmaster

IS HTML5 READY YET?

Jul 12th, 2011
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 4.59 KB | None | 0 0
  1. <!DOCTYPE html>  <!-- Yeah! That's an HTML5 Doctype over there, baby! -->
  2. <html>
  3. <head>
  4.   <title>IS HTML5 READY YET?</title>
  5.   <meta charset="utf-8"> <!-- Whoa! Can it be that simple? -->
  6.   <meta name="DC.title" content="Is HTML 5 Ready Yet?">
  7.   <meta name="DC.subject" content="A tongue-in-cheek commentary">
  8.   <meta name="DC.creator" content="J Cornelius - http://jcornelius.com">
  9.   <link rel="author" href="http://jcornelius.com">
  10.  
  11.   <link rel="stylesheet" href="style/style.css" media="screen,print">
  12. </head>
  13. <body>
  14.  
  15.     <!-- Good lord. We're in the BODY element now. Guess what happens next. -->
  16.  
  17.     <h1>NO</h1>
  18.  
  19.     <!--
  20.  
  21.    OKAY! OKAY! So the answer really is: Kinda, sorta, but not quite really.
  22.  
  23.    Since you made it to this site you're probably curious about HTML5 (enough to click a link at least).
  24.  
  25.    If you're reading this, you're smart enough to know how to view source.
  26.  
  27.    Add that up and I'll guess you're a web de/sign/velop/er of some sort.
  28.  
  29.    So I recommend you check out a real HTML5 resource like these:
  30.  
  31.    - http://diveintohtml5.org/
  32.    - http://html5doctor.com/
  33.  
  34.    Or hell, these are good, too:
  35.  
  36.    - http://html5demos.com/
  37.    - http://html5gallery.com/
  38.  
  39.    And let's not forget these:
  40.  
  41.    - http://www.w3.org/html/logo/
  42.    - http://www.w3.org/TR/html5/
  43.    - http://dev.w3.org/html5/spec/Overview.html
  44.    - http://www.whatwg.org/specs/web-apps/current-work/multipage/
  45.  
  46.    -->
  47.  
  48. <div id="countdown">
  49.   <div id="countdown-years">
  50.  
  51.     <img id="year1" src="images/countdown-0.png">
  52.     <img id="year2" src="images/countdown-3.png">
  53.   </div>
  54.   <div id="countdown-days">
  55.     <img id="day1" src="images/countdown-9.png">
  56.     <img id="day2" src="images/countdown-0.png">
  57.   </div>
  58.   <div id="countdown-hours">
  59.     <img id="hour1" src="images/countdown-0.png">
  60.  
  61.     <img id="hour2" src="images/countdown-9.png">
  62.   </div>
  63.   <div id="countdown-minutes">
  64.     <img id="minute1" src="images/countdown-4.png">
  65.     <img id="minute2" src="images/countdown-9.png">
  66.   </div>
  67.   <div id="countdown-seconds">
  68.     <img id="second1" src="images/countdown-2.png">
  69.     <img id="second2" src="images/countdown-4.png">
  70.  
  71.   </div>
  72. </div>
  73. <div id="countdown-dummy"></div>
  74.  
  75. <p>... to go until the HTML5 specification is final.</p>
  76.  
  77. <div id="disqus_thread"></div>
  78. <script type="text/javascript">
  79.     /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
  80.     var disqus_shortname = 'ishtml5readyyet'; // required: replace example with your forum shortname
  81.  
  82.     // The following are highly recommended additional parameters. Remove the slashes in front to use.
  83.     var disqus_identifier = '/';
  84.     var disqus_url = 'http://ishtml5readyyet.com/';
  85.  
  86.     (function() {
  87.         var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
  88.         dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
  89.         (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
  90.     })();
  91. </script>
  92. <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
  93.  
  94. <p><a href="http://www.w3.org/html/logo/#the-gallery" title="HTML5 - It's really ready now."><img src="/images/HTML5_Logo_256.png" alt="HTML5 - It's really ready now."></a></p>
  95.  
  96.     <!-- Oh, this is a big one... wait for it... wait for it. BAM! -->
  97.  
  98.     <footer>
  99.       <p>This little website was created and is lovingly curated by <a href="http://jcornelius.com/">J Cornelius</a></p>
  100.       <p><i>&mdash; P.S. You should view source &mdash;</i></p>
  101.     </footer>
  102.     <!-- That's right! A <footer> element. In 2011! It even works in IE (shhh, don't tell Bill) -->
  103.  
  104.   <script type="text/javascript">var disqus_shortname = 'ishtml5readyyet';(function () { var s = document.createElement('script'); s.async = true;s.type = 'text/javascript';s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);}());</script>
  105.  
  106.   <script type="text/javascript">var target_date = new Date('Jan 1 2014');</script>
  107.   <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
  108.   <script type="text/javascript" src="javascript/jquery.countdown.js"></script>
  109.   <script type="text/javascript" src="javascript/jquery.timer.js"></script>
  110.   <script type="text/javascript" src="javascript/countdown.js"></script>  
  111.  
  112.   <!-- So you made it this far, now your should hit me up on Twitter or something. I'm @jc. Really. -->
  113.   </body>
  114.  
  115. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement