SlideShare una empresa de Scribd logo
1 de 95
LOOKING INTO HTML5+CSS3
  CHRISTOPHER SCHMITT | http://twitter.com/teleject
One Look at Flash
LOOKING INTO HTML5+CSS3
  CHRISTOPHER SCHMITT | http://twitter.com/teleject
THINGS ARE GOOD
BETWEEN US, XHTML, RIGHT?

        I MEAN.
  WE GET ALONG WELL.
 AND WE BOTH LIKE STUFF.
“THE ATTEMPT TO GET THE
WORLD TO SWITCH TO XML,
    INCLUDING QUOTES
AROUND ATTRIBUTE VALUES
AND SLASHES IN EMPTY TAGS
  AND NAMESPACES ALL AT
   ONCE DIDN'T WORK.”
     -TIM BERNERS-LEE
BLUEPRINTS VS REALITY
“TAKE CARE
  OF THE LUXURIES AND
THE NECESSITIES WILL TAKE
 CARE OF THEMSELVES.”
 -FRANK LLOYD WRIGHT
NEW HTML5 ELEMENTS
•   article         •   figure    •   progress
•   aside           •   footer   •   rp
•   audio           •   header   •   rt
•   canvas          •   hgroup   •   ruby
•   command         •   keygen   •   section
•   datalist        •   mark     •   source
•   details         •   meter    •   time
•   dialog          •   nav      •   video
•   embed           •   output
NEW HTML5 ELEMENTS
•   article         •   figure    •   progress
•   aside           •   footer   •   rp
•   audio           •   header   •   rt
•   canvas          •   hgroup   •   ruby
•   command         •   keygen   •   section
•   datalist        •   mark     •   source
•   details         •   meter    •   time
•   dialog          •   nav      •   video
•   embed           •   output
BASIC HTML5 LAYOUT
<!DOCTYPE HTML>
<HTML LANG="EN">
<HEAD>
 <META CHARSET="UTF-8">
 <TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE>
</HEAD>
<BODY>
 <H1>....</H1>
 <P>...</P>
 </BODY>
</HTML>
<!DOCTYPE HTML>
 <TITLE>HTML5</TITLE>
 <P>HELLO WORLD</P>




http://validator.w3.org/check?uri=http%3A%2F%2Fjsbin.com
                       %2Fowata&ss=1
DIV ID=”header”
              DIV ID=”nav”

DIV ID=”section”




                         DIV ID=”sidecolumn”
DIV ID=”article”




             DIV ID=”footer”
HEADER
           NAV

SECTION




                   ASIDE
ARTICLE




          FOOTER
<BODY>
<HEADER>
 <H1>HEADING </H1>
</HEADER>
<NAV>
 <H3>SITE NAVIGATION</H3>
 <UL>...</UL>
</NAV>
<SECTION>
 <H3>WEBLOG ENTRY</H3>
 
<ARTICLE>
</ARTICLE
 
</SECTION>
<ASIDE>
  <P>YOU ARE READING "CHOCOLATE RAIN", AN ENTRY POSTED ON <TIME
DATETIME="2009-03-05">5 MARCH, 2009</TIME>, TO THE <A HREF="#">MISTY
COLLECTION</A>. SEE OTHER POSTS IN <A HREF="#">THIS COLLECTION</A>.</P>
</ASIDE>
<FOOTER>
 <P>...</P>
</FOOTER>
</BODY>
<SCRIPT TYPE="TEXT/JAVASCRIPT">
DOCUMENT.CREATEELEMENT('HEADER');
DOCUMENT.CREATEELEMENT('NAV');
DOCUMENT.CREATEELEMENT('SECTION');
DOCUMENT.CREATEELEMENT('ARTICLE');
DOCUMENT.CREATEELEMENT('ASIDE');
DOCUMENT.CREATEELEMENT('FOOTER');
</SCRIPT>




         http://ejohn.org/blog/html5-shiv/
BASIC CSS FORMATTING
HEADER
           NAV

SECTION




                   ASIDE
ARTICLE




          FOOTER
LESSONS LEARNED
• New   HTML5 elements are treated as inline elements.

  • Need    to use CSS property-value display:block

• IE6
    and IE7 need to be nudged to recognize HTML elements in
 order to have CSS be applied

  • document.createElement(‘html5element’);

  • Dean    Edwards IE7 script doesn’t help

  • There   isn’t a jQuery plugin to make it “easier”
LESSONS LEARNED


• For   Firefox 2 and Camino (Gecko 1.9)

  • HTML5       pages need to be served as XHTML

  • Content-Type: application/xhtml+xml;

  • ...Let   the irony set for a bit.
<?PHP
IF ( STRPOS($_SERVER['HTTP_USER_AGENT'], 'FIREFOX/2.0') > -1)
{
HEADER("CONTENT-TYPE: APPLICATION/XHTML+XML;
CHARSET=UTF-8");
ECHO'<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0
TRANSITIONAL//EN" "HTTP://WWW.W3.ORG/TR/XHTML1/DTD/
XHTML1-TRANSITIONAL.DTD">
<HTML XMLNS="HTTP://WWW.W3.ORG/1999/XHTML"
XML:LANG="EN" LANG="EN">';
}
ELSE {
ECHO '<!DOCTYPE HTML><HTML>';
}?>

                       http://tr.im/h0Rj
HTML5 AUDIO
<!DOCTYPE HTML>
<HTML LANG="EN">
<HEAD>
<META CHARSET="UTF-8">
<TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE>

   </HEAD>

   <BODY>

   
   <H1>VIDEO EXAMPLE</H1>

   
   <AUDIO SRC="HTML5TEST.OGG" AUTOPLAY CONTROLS>

   
   
   <A HREF="HTML5TEST.OGG">DOWNLOAD AUDIO</A>

   
   </AUDIO>

   </BODY>
</HTML>
HTML5 AUDIO

• AUDIO  element attributes are SRC, AUTOBUFFER, AUTOPLAY,
  LOOP, CONTROLS

• If   you don’t have CONTROL, player becomes transparent

• Only    able to play OGG format in nightly build of Firefox.

   • Could   not get player to use MP3 audio
AUDIO FILE SUPPORT

                                      Chrome 3
             Firefox 3.5   Safari 4            Opera 10
                                        Beta

Ogg Vorbis       Y                       Y


  MP3                         Y          Y


  WAV            Y            Y                   Y
<!DOCTYPE HTML>
<HTML LANG="EN">
<HEAD>
<META CHARSET="UTF-8">
<TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE>

   </HEAD>

   <BODY>

   
   <H1>VIDEO EXAMPLE</H1>

   
   <AUDIO CONTROLS AUTOBUFFER>
  
 
   
   <SOURCE SRC="HTML5AUDIO.OGG" />
  
 
   
   <SOURCE SRC="HTML5AUDIO.MP3" />
  
 
   
   <!-- INCLUDE ADOBE FLASH PLAYER EMBED AND OBJECT
CODE HERE -->

   
   </AUDIO>

   </BODY>
</HTML>
HTML5 VIDEO
<!DOCTYPE HTML>
<HTML LANG="EN">
<HEAD>
<META CHARSET="UTF-8">
<TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE>

   </HEAD>

   <BODY>

   
   <H1>VIDEO EXAMPLE</H1>

   
   <OBJECT WIDTH="425" HEIGHT="344"><PARAM NAME="MOVIE"
VALUE="HTTP://WWW.YOUTUBE.COM/V/
4GUKSQAG5XI&HL=EN&FS=1"></PARAM><PARAM
NAME="ALLOWFULLSCREEN" VALUE="TRUE"></PARAM><PARAM
NAME="ALLOWSCRIPTACCESS" VALUE="ALWAYS"></PARAM><EMBED
SRC="HTTP://WWW.YOUTUBE.COM/V/4GUKSQAG5XI&HL=EN&FS=1"
TYPE="APPLICATION/X-SHOCKWAVE-FLASH"
ALLOWSCRIPTACCESS="ALWAYS" ALLOWFULLSCREEN="TRUE"
WIDTH="425" HEIGHT="344"></EMBED></OBJECT>

   </BODY>
</HTML>
<!DOCTYPE HTML>
<HTML LANG="EN">
<HEAD>
<META CHARSET="UTF-8">
<TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE>

   </HEAD>

   <BODY>

   
   <H1>VIDEO EXAMPLE</H1>

   
   <VIDEO SRC="HTML5TEST.OGG"

   
   
   WIDTH="320" HEIGHT="240" CONTROLS 
 
        
  

   
   
   POSTER="HTML5TESTVIDEOPOSTER.JPG">

   
   
   <A HREF="HTML5TESTVIDEO.OGG">DOWNLOAD MOVIE</A>

   
   </VIDEO>

   </BODY>
</HTML>
VIDEO DEMOS


• Personal   demo

• http://tinyvid.tv/

• http://www.mozbox.org/jdll/video.xhtml
HTML5 VIDEO

• WIDTH   and HEIGHT should be required, IMO, but movie plays
  anyway based on the values in the video file itself.

• Video  formats may have their own posterframe. The browser
  should use that by default unless overridden by valid POSTER
  attribute value.

• Alternative   text is placed inside VIDEO element.

• If   you want to give users control, use CONTROL attribute.
HTML5 VIDEO


• Video can start automatically if using the AUTOPLAY=”1”
 attribute and value.

• Specprovides for LOOP, AUTOBUFFER which also take a value of
 O or 1.

• Codecs   support...
HTML5 VIDEO
  “It would be helpful for interoperability if all browsers could
    support the same codecs. However, there are no known
codecs that satisfy all the current players: we need a codec that
  is known to not require per-unit or per-distributor licensing,
 that is compatible with the open source development model,
  that is of sufficient quality as to be usable, and that is not an
 additional submarine patent risk for large companies. This is an
   ongoing issue and this section will be updated once more
                      information is available.”
    - http://www.whatwg.org/specs/web-apps/current-work/
          #video-and-audio-codecs-for-video-elements
VIDEO CODEC SUPPORT
          Firefox 3.5   Safari   iPhone   Android Chrome 3


Theora
+Vorbis       Y                                      Y
 +Ogg
H.264
+AAC                      Y        Y        Y
+MP4

            http://diveintohtml5.org/video.html
LESSONS LEARNED
• Works    in nightly builds of Firefox (3.2b) and only for OGG
 format.

  • Other browsers that said they supported the VIDEO format I
   could not get to work on my machines.

• Used VLC    to encode common movie files types to OGG

• Toget cross-browser, you will need to encode in more than one
 file format. Is it really needed?

• People   really, really, really want this to work.
HTML5 AND MICROFORMATS
REPLACING ABBR
• ABBRis used by screenreaders to expand abbreviations like “lbs”
 or “NCAAP”

• Howeverunintended consequences occurred trying to
 workaround browser bugs for other HTML elements

• What   happens when a screenreaders text like this:

  • “Let’sgo to <abbr class="geo"
   title="30.300474;-97.747247">Austin, TX</
   abbr>”
http://www.brucelawson.co.uk/2009/microformats-accessibility-html-5-again/
REPLACING ABBR
• ABBRis used by screenreaders to expand abbreviations like “lbs”
 or “NCAAP”

• Howeverunintended consequences occurred trying to
 workaround browser bugs for other HTML elements

• What   happens when a screenreaders text like this:

  • “Let’sgo to <abbr class="geo"
   title="30.300474;-97.747247">Austin, TX</
   abbr>”
http://www.brucelawson.co.uk/2009/microformats-accessibility-html-5-again/
<DIV CLASS="VEVENT">
<A CLASS="URL" HREF="HTTP://WWW.WEB2CON.COM/">HTTP://
WWW.WEB2CON.COM</A>
<SPAN CLASS="SUMMARY">WEB 2.0 CONFERENCE</SPAN>:
 <ABBR CLASS="DTSTART" TITLE="2007-10-05">OCTOBER 5</ABBR>-
 <ABBR CLASS="DTEND" TITLE="2007-10-20">19</ABBR>,
AT THE <SPAN CLASS="LOCATION">ARGENT HOTEL, SAN FRANCISCO, CA</SPAN>
</DIV>
<DIV CLASS="VEVENT">
 <A CLASS="URL" HREF="HTTP://WWW.WEB2CON.COM/">HTTP://
 WWW.WEB2CON.COM</A>
 <SPAN CLASS="SUMMARY">WEB 2.0 CONFERENCE</SPAN>:
 <TIME CLASS="DTSTART" DATETIME="2007-10-05">OCTOBER 5</TIME>-
  <TIME CLASS="DTEND" DATETIME="2007-10-20">19</TIME>,
 AT THE <SPAN CLASS="LOCATION">ARGENT HOTEL, SAN FRANCISCO, CA</SPAN>
 </DIV>




http://www.brucelawson.co.uk/2009/microformats-accessibility-html-5-again/
HTML5 CANVAS
<CANVAS ID="MYCANVAS" WIDTH="300" HEIGHT="150">
FALLBACK CONTENT, IN CASE THE BROWSER DOES NOT SUPPORT CANVAS.
</CANVAS>
<SCRIPT TYPE="TEXT/JAVASCRIPT"><!--
WINDOW.ADDEVENTLISTENER('LOAD', FUNCTION () {
 // GET THE CANVAS ELEMENT.
 VAR ELEM = DOCUMENT.GETELEMENTBYID('MYCANVAS');
 IF (!ELEM || !ELEM.GETCONTEXT) {
   RETURN;
 }

 // GET THE CANVAS 2D CONTEXT.
 VAR CONTEXT = ELEM.GETCONTEXT('2D');
 IF (!CONTEXT) {
   RETURN;
 }

  // NOW YOU ARE DONE! LET'S DRAW A BLUE RECTANGLE.
  CONTEXT.FILLSTYLE = '#00F';
  CONTEXT.FILLRECT(0, 0, 150, 100);
}, FALSE);
// --></SCRIPT>
// GET THE CANVAS ELEMENT.
VAR ELEM = DOCUMENT.GETELEMENTBYID('MYCANVAS');
IF (!ELEM || !ELEM.GETCONTEXT) {
  RETURN;
}

// GET THE CANVAS 2D CONTEXT.
VAR CONTEXT = ELEM.GETCONTEXT('2D');
IF (!CONTEXT) {
  RETURN;
}

 CONTEXT.FILLSTYLE = '#00F';
 CONTEXT.STROKESTYLE = '#F00';
 CONTEXT.LINEWIDTH = 4;

  // DRAW A RIGHT TRIANGLE.
  CONTEXT.BEGINPATH();
  CONTEXT.MOVETO(10, 10);
  CONTEXT.LINETO(100, 10);
  CONTEXT.LINETO(10, 100);
  CONTEXT.LINETO(10, 10);
  CONTEXT.FILL();
  CONTEXT.STROKE();
  CONTEXT.CLOSEPATH();
}, FALSE);
// GET THE CANVAS ELEMENT.
VAR ELEM = DOCUMENT.GETELEMENTBYID('MYCANVAS');
IF (!ELEM || !ELEM.GETCONTEXT) {
  RETURN;
}

// GET THE CANVAS 2D CONTEXT.
VAR CONTEXT = ELEM.GETCONTEXT('2D');
IF (!CONTEXT) {
  RETURN;
}

 CONTEXT.FILLSTYLE = '#00F';
 CONTEXT.STROKESTYLE = '#F00';
 CONTEXT.LINEWIDTH = 4;

  // DRAW A RIGHT TRIANGLE.
  CONTEXT.BEGINPATH();
  CONTEXT.MOVETO(10, 10);
  CONTEXT.LINETO(100, 10);
  CONTEXT.LINETO(10, 100);
  CONTEXT.LINETO(10, 10);
  CONTEXT.FILL();
  CONTEXT.STROKE();
  CONTEXT.CLOSEPATH();
}, FALSE);
http://flickr.com/photos/dunstan/3099313036/
HTML5 AND LOCAL
DATABASE, APP CACHE,
   GEOLOCATION,
    YOUR PHONE
http://www.youtube.com/watch?v=VmjxmOtNZCk&fmt=18
DATABASE, APP CACHE,
          GEOLOCATION LINKS
•   W3C HTML5 Database Storage Specification:
    http://tr.im/h13y

•   W3C Geolocation API Specification:
    http://tr.im/h12L

•   W3C HTML5 Offline Web Applications:
    http://tr.im/h12z

•   Safari Dev Connection on HTML5 Offline Application Cache:
    http://tr.im/h12f

•   WebKit Does HTML5 Client-Side Storage:
    http://tr.im/h140
“HTML 5 IS A KLUDGE.”
  - BRUCE LAWSON
LOOKING
  GOOD

  CSS3
“NEW” “CSS3” PROPERTIES
•   @font-face                        •   stretching images
•   text-shadow                       •   rotating images
•   background color opacity (RGBA)   •   setting gradients
•   text columns                      •   alpha transparent IMG
•   rounded corners                   •   box shadow
•   multiple images on one HTML       •   CSS masks
    element
                                      •   opacity on elements
•   setting images on borders
                                      •   CSS animation
TEXT COLUMNS
<DIV ID="COLUMN">
<P>…<P>
<H2>…</H2>
<P>…<P>
<H2>…</H2>
<P>…<P>
</DIV>
#COLUMN {
 -MOZ-COLUMN-GAP: 3EM;
 -MOZ-COLUMN-WIDTH: 11EM;
 -WEBKIT-COLUMN-GAP: 3EM;
 -WEBKIT-COLUMN-WIDTH: 11EM;
 PADDING: 10PX;
}
#COLUMN {
 -MOZ-COLUMN-GAP: 3EM;
 -MOZ-COLUMN-WIDTH: 11EM;
 -MOZ-COLUMN-RULE: 1PX SOLID #CCC;
 -WEBKIT-COLUMN-GAP: 3EM;
 -WEBKIT-COLUMN-WIDTH: 11EM;
 -WEBKIT-COLUMN-RULE: 1PX SOLID #CCC;
 PADDING: 10PX;
}
LESSONS LEARNED


• Proprietary   CSS extensions in Firefox and Safari.

• JavaScriptsolution through a jQuery plugin:
 http://welcome.totheinter.net/2008/07/22/multi-column-layout-
 with-css-and-jquery/
OPACITY ON ELEMENTS
#NUMBER4 {
  OPACITY: .4; /* .4 = 40% TRANSPARENCY */
  FILTER: ALPHA(OPACITY=40); /* 40 = 40% TRANSPARENCY */
}
LESSONS LEARNED
• Supported     in Firefox 1.5+, Opera 9+, Safari 1.2+ and Chrome.

• IE5.5+ requires the use of its own alpha filter in order for the
 effect to be cross-browser.

•A     drawback to using the opacity filter is that the value is inherited:

  • If   a parent element is set to be 10% transparent, the child
       elements’ transparency is also going to be 10%.

  • Watch     out for legibility issues within the Web page.
OPACITY
ON BACKGROUND COLORS
        (RGBA)
#NUMBER4 {
 BACKGROUND-COLOR: RGBA(255, 255, 0, .4);
}
#NUMBER4 {
 BACKGROUND-COLOR: RGB(255, 255, 0);
 BACKGROUND-COLOR: RGBA(255, 255, 0, .4);
}
LESSONS LEARNED

• Firefox   3+, Opera 10+, and Safari support RGBA

• Requires   another background-color property for cross-browser
 support.

• IE   Support!
#NUMBER4 {
 BACKGROUND-COLOR: TRANSPARENT;
FILTER:PROGID:DXIMAGETRANSFORM.MICROSOFT.GRADIENT(STARTCO
LORSTR=#66FFFF00,ENDCOLORSTR=#66FFFF00);
}
LESSONS LEARNED
• First
     step is to convert the RGB value of the color to
 hexadecimal. In this example, rgb(255,255,0) converts to #FFFF00.

• Next, convert    the alpha transparency value to hexadecimal
 string . In this example, the value is 66.

  • E.g.,   alpha value of .3 equals 4D in hexadecimal values

• Then assemble the hexadecimal value for transparency and the
 color together in one string, starting with the transparency:
 #66FFFF00.
GRADIENTS,
BOX SHADOWS,
TEXT SHADOWS,
BORDER IMAGES
#HEADER .BORDER {
 BORDER: 1PX SOLID #930;
 -WEBKIT-BORDER-IMAGE: URL(ZOD-BOX.PNG) 1 1 1 1 STRETCH
STRETCH;
 -MOZ-BORDER-IMAGE: URL(ZOD-BOX.PNG) 1 1 1 1 STRETCH STRETCH;
 PADDING: 7PX;
 }
 
 #HEADER .WRAP {
  COLOR: #FFF;
  COLOR: RGBA(255,255,255,.9);
  MIN-WIDTH: 250PX;
  TEXT-SHADOW: 0 -1PX 0 RGBA(0,0,0,.8);
 
   
  BOX-SHADOW: 3PX 3PX 19PX RGBA(0,0,0,.3);
  -WEBKIT-BOX-SHADOW: 3PX 3PX 19PX RGBA(0,0,0,.3);
  -MOZ-BOX-SHADOW: 3PX 3PX 19PX RGBA(0,0,0,.3);
  BACKGROUND: #930;
  BACKGROUND: -WEBKIT-GRADIENT(LINEAR, LEFT TOP, LEFT BOTTOM,
FROM(RGBA(153,51,0,.3)), TO(#6B3703), COLOR-STOP(0.5, #903000));
  BACKGROUND: -MOZ-LINEAR-GRADIENT(LEFT TOP, LEFT BOTTOM,
FROM(RGBA(153,51,0,.3)), TO(#6B3703), COLOR-STOP(0.5, #903000));
  PADDING: 14PX;
}
ANIMATIONS
@-WEBKIT-KEYFRAMES "CLOUDS" {
 FROM {
  RIGHT: 0PX;
 }
 TO {
  RIGHT: 100PX;
 }
}
#CLOUDS1 {
 WIDTH: 627PX;
 HEIGHT: 410PX;
 POSITION: ABSOLUTE;
 RIGHT: -300PX;
TOP: 0;
 BACKGROUND-IMAGE: URL(CLOUDS.PNG);
 -WEBKIT-TRANSFORM: TRANSLATE(300PX, 0PX);
 -WEBKIT-ANIMATION-NAME: "CLOUDS";
 -WEBKIT-ANIMATION-DURATION: 10S;
 -WEBKIT-ANIMATION-ITERATION-COUNT: 10;
 -WEBKIT-ANIMATION-DIRECTION: ALTERNATE;
}
HTML5+CSS3 RESOURCES

• HTML5   Doctor
 http://html5doctor.com

• “When   Can I Use…”
 http://a.deveria.com/caniuse/

• Comparison   of Layout Engines
 (HTML5)
 http://en.wikipedia.org/wiki/
 Comparison_of_layout_engine
 s_(HTML_5)
THANK YOU!
   Christopher Schmitt
schmitt@heatvision.com
http://twitter.com/teleject
Creative Commons Citations

    http://www.flickr.com/photos/gurock20/459901107/
        http://www.flickr.com/photos/wili/214317898/
       http://www.flickr.com/photos/gadl/421838292/
     http://www.flickr.com/photos/tantek/1141384818/
  http://www.flickr.com/photos/bdougherty/3172618046/
http://dev.opera.com/articles/view/html-5-canvas-the-basics/

Más contenido relacionado

La actualidad más candente

Introduction to html 5
Introduction to html 5Introduction to html 5
Introduction to html 5Nir Elbaz
 
Multimedia on the web - HTML5 video and audio
Multimedia on the web - HTML5 video and audioMultimedia on the web - HTML5 video and audio
Multimedia on the web - HTML5 video and audioChristian Heilmann
 
JS Days HTML5 Flash and the Battle for Faster Cat Videos
JS Days HTML5 Flash and the Battle for Faster Cat VideosJS Days HTML5 Flash and the Battle for Faster Cat Videos
JS Days HTML5 Flash and the Battle for Faster Cat VideosGreg Schechter
 
Don't make me wait! or Building High-Performance Web Applications
Don't make me wait! or Building High-Performance Web ApplicationsDon't make me wait! or Building High-Performance Web Applications
Don't make me wait! or Building High-Performance Web ApplicationsStoyan Stefanov
 
HTML5, Flash, and the Battle For Faster Cat Videos
HTML5, Flash, and the Battle For Faster Cat VideosHTML5, Flash, and the Battle For Faster Cat Videos
HTML5, Flash, and the Battle For Faster Cat VideosGreg Schechter
 
Html5 shubelal
Html5 shubelalHtml5 shubelal
Html5 shubelalShub
 
GDD HTML5, Flash, and the Battle for Faster Cat Videos
GDD HTML5, Flash, and the Battle for Faster Cat VideosGDD HTML5, Flash, and the Battle for Faster Cat Videos
GDD HTML5, Flash, and the Battle for Faster Cat VideosGreg Schechter
 
State of Media Accessibility in HTML5
State of Media Accessibility in HTML5State of Media Accessibility in HTML5
State of Media Accessibility in HTML5Silvia Pfeiffer
 
Browser tools that make web development easier
Browser tools that make web development easierBrowser tools that make web development easier
Browser tools that make web development easierAlan Seiden
 
PHP and Platform Independance in the Cloud
PHP and Platform Independance in the CloudPHP and Platform Independance in the Cloud
PHP and Platform Independance in the CloudZendCon
 
BDD - Writing better scenario
BDD - Writing better scenarioBDD - Writing better scenario
BDD - Writing better scenarioArnauld Loyer
 
Best Practices in PHP Application Deployment
Best Practices in PHP Application DeploymentBest Practices in PHP Application Deployment
Best Practices in PHP Application DeploymentShahar Evron
 
API Technical Writing
API Technical WritingAPI Technical Writing
API Technical WritingSarah Maddox
 
Best practices-wordpress-enterprise
Best practices-wordpress-enterpriseBest practices-wordpress-enterprise
Best practices-wordpress-enterpriseTaylor Lovett
 
Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...
Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...
Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...Geoff Varosky
 
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
AD113  Speed Up Your Applications w/ Nginx and PageSpeedAD113  Speed Up Your Applications w/ Nginx and PageSpeed
AD113 Speed Up Your Applications w/ Nginx and PageSpeededm00se
 
Best Practices for Front-End Django Developers
Best Practices for Front-End Django DevelopersBest Practices for Front-End Django Developers
Best Practices for Front-End Django DevelopersChristine Cheung
 
HTML5 Video Presentation
HTML5 Video PresentationHTML5 Video Presentation
HTML5 Video Presentationsith33
 

La actualidad más candente (20)

Introduction to html 5
Introduction to html 5Introduction to html 5
Introduction to html 5
 
Multimedia on the web - HTML5 video and audio
Multimedia on the web - HTML5 video and audioMultimedia on the web - HTML5 video and audio
Multimedia on the web - HTML5 video and audio
 
Using HTML5 sensibly
Using HTML5 sensiblyUsing HTML5 sensibly
Using HTML5 sensibly
 
JS Days HTML5 Flash and the Battle for Faster Cat Videos
JS Days HTML5 Flash and the Battle for Faster Cat VideosJS Days HTML5 Flash and the Battle for Faster Cat Videos
JS Days HTML5 Flash and the Battle for Faster Cat Videos
 
Don't make me wait! or Building High-Performance Web Applications
Don't make me wait! or Building High-Performance Web ApplicationsDon't make me wait! or Building High-Performance Web Applications
Don't make me wait! or Building High-Performance Web Applications
 
HTML5, Flash, and the Battle For Faster Cat Videos
HTML5, Flash, and the Battle For Faster Cat VideosHTML5, Flash, and the Battle For Faster Cat Videos
HTML5, Flash, and the Battle For Faster Cat Videos
 
Html5 shubelal
Html5 shubelalHtml5 shubelal
Html5 shubelal
 
WHAT IS HTML5?(20100510)
WHAT IS HTML5?(20100510)WHAT IS HTML5?(20100510)
WHAT IS HTML5?(20100510)
 
GDD HTML5, Flash, and the Battle for Faster Cat Videos
GDD HTML5, Flash, and the Battle for Faster Cat VideosGDD HTML5, Flash, and the Battle for Faster Cat Videos
GDD HTML5, Flash, and the Battle for Faster Cat Videos
 
State of Media Accessibility in HTML5
State of Media Accessibility in HTML5State of Media Accessibility in HTML5
State of Media Accessibility in HTML5
 
Browser tools that make web development easier
Browser tools that make web development easierBrowser tools that make web development easier
Browser tools that make web development easier
 
PHP and Platform Independance in the Cloud
PHP and Platform Independance in the CloudPHP and Platform Independance in the Cloud
PHP and Platform Independance in the Cloud
 
BDD - Writing better scenario
BDD - Writing better scenarioBDD - Writing better scenario
BDD - Writing better scenario
 
Best Practices in PHP Application Deployment
Best Practices in PHP Application DeploymentBest Practices in PHP Application Deployment
Best Practices in PHP Application Deployment
 
API Technical Writing
API Technical WritingAPI Technical Writing
API Technical Writing
 
Best practices-wordpress-enterprise
Best practices-wordpress-enterpriseBest practices-wordpress-enterprise
Best practices-wordpress-enterprise
 
Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...
Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...
Best Practices in SharePoint Development - Just Freakin Work! Overcoming Hurd...
 
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
AD113  Speed Up Your Applications w/ Nginx and PageSpeedAD113  Speed Up Your Applications w/ Nginx and PageSpeed
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
 
Best Practices for Front-End Django Developers
Best Practices for Front-End Django DevelopersBest Practices for Front-End Django Developers
Best Practices for Front-End Django Developers
 
HTML5 Video Presentation
HTML5 Video PresentationHTML5 Video Presentation
HTML5 Video Presentation
 

Destacado

2010 07 15 - Clinical LOINC Tutorial - Imaging
2010 07 15 - Clinical LOINC Tutorial - Imaging2010 07 15 - Clinical LOINC Tutorial - Imaging
2010 07 15 - Clinical LOINC Tutorial - Imagingdvreeman
 
Programa Mais Cultura Audiovisual
Programa Mais Cultura AudiovisualPrograma Mais Cultura Audiovisual
Programa Mais Cultura AudiovisualFICTV MAIS CULTURA
 
2009 02 17 - Introduction to EHRs for Rehab Providers
2009 02 17 - Introduction to EHRs for Rehab Providers2009 02 17 - Introduction to EHRs for Rehab Providers
2009 02 17 - Introduction to EHRs for Rehab Providersdvreeman
 
2012 02 16 - Clinical LOINC Tutorial - Collections - Panels Forms and Assessm...
2012 02 16 - Clinical LOINC Tutorial - Collections - Panels Forms and Assessm...2012 02 16 - Clinical LOINC Tutorial - Collections - Panels Forms and Assessm...
2012 02 16 - Clinical LOINC Tutorial - Collections - Panels Forms and Assessm...dvreeman
 
2012 03 20 - LOINC Introduction - AMIA KRS-WG
2012 03 20 - LOINC Introduction - AMIA KRS-WG2012 03 20 - LOINC Introduction - AMIA KRS-WG
2012 03 20 - LOINC Introduction - AMIA KRS-WGdvreeman
 

Destacado (7)

2010 07 15 - Clinical LOINC Tutorial - Imaging
2010 07 15 - Clinical LOINC Tutorial - Imaging2010 07 15 - Clinical LOINC Tutorial - Imaging
2010 07 15 - Clinical LOINC Tutorial - Imaging
 
Bubble
BubbleBubble
Bubble
 
Eeva Liisa
Eeva LiisaEeva Liisa
Eeva Liisa
 
Programa Mais Cultura Audiovisual
Programa Mais Cultura AudiovisualPrograma Mais Cultura Audiovisual
Programa Mais Cultura Audiovisual
 
2009 02 17 - Introduction to EHRs for Rehab Providers
2009 02 17 - Introduction to EHRs for Rehab Providers2009 02 17 - Introduction to EHRs for Rehab Providers
2009 02 17 - Introduction to EHRs for Rehab Providers
 
2012 02 16 - Clinical LOINC Tutorial - Collections - Panels Forms and Assessm...
2012 02 16 - Clinical LOINC Tutorial - Collections - Panels Forms and Assessm...2012 02 16 - Clinical LOINC Tutorial - Collections - Panels Forms and Assessm...
2012 02 16 - Clinical LOINC Tutorial - Collections - Panels Forms and Assessm...
 
2012 03 20 - LOINC Introduction - AMIA KRS-WG
2012 03 20 - LOINC Introduction - AMIA KRS-WG2012 03 20 - LOINC Introduction - AMIA KRS-WG
2012 03 20 - LOINC Introduction - AMIA KRS-WG
 

Similar a Looking into HTML5 + CSS3

Similar a Looking into HTML5 + CSS3 (20)

HTML5
HTML5 HTML5
HTML5
 
WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)WHAT IS HTML5? (at CSS Nite Osaka)
WHAT IS HTML5? (at CSS Nite Osaka)
 
The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5
 
Html 5
Html 5Html 5
Html 5
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
Looking into HTML5
Looking into HTML5Looking into HTML5
Looking into HTML5
 
Html5 public
Html5 publicHtml5 public
Html5 public
 
Web Apps
Web AppsWeb Apps
Web Apps
 
HTML 5
HTML 5HTML 5
HTML 5
 
Fundamentals of HTML5
Fundamentals of HTML5Fundamentals of HTML5
Fundamentals of HTML5
 
HTML5
HTML5HTML5
HTML5
 
Html5
Html5Html5
Html5
 
Basics of HTML5 for Phonegap
Basics of HTML5 for PhonegapBasics of HTML5 for Phonegap
Basics of HTML5 for Phonegap
 
HTML 5
HTML 5HTML 5
HTML 5
 
Prueba ppt
Prueba pptPrueba ppt
Prueba ppt
 
Html5v1
Html5v1Html5v1
Html5v1
 
Html5 Brown Bag
Html5 Brown BagHtml5 Brown Bag
Html5 Brown Bag
 
Introduction to HTML5 and CSS3 (revised)
Introduction to HTML5 and CSS3 (revised)Introduction to HTML5 and CSS3 (revised)
Introduction to HTML5 and CSS3 (revised)
 
HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)
 
Html5
Html5Html5
Html5
 

Más de Christopher Schmitt

Keeping Colors from Killing Your Product
Keeping Colors from Killing Your ProductKeeping Colors from Killing Your Product
Keeping Colors from Killing Your ProductChristopher Schmitt
 
[funka] Adaptive Images in Responsive Web Design
[funka] Adaptive Images in Responsive Web Design[funka] Adaptive Images in Responsive Web Design
[funka] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[Austin WordPress Meetup] Adaptive Images in Responsive Web Design
[Austin WordPress Meetup] Adaptive Images in Responsive Web Design[Austin WordPress Meetup] Adaptive Images in Responsive Web Design
[Austin WordPress Meetup] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[CSSDevConf] Adaptive Images in Responsive Web Design 2014
[CSSDevConf] Adaptive Images in Responsive Web Design 2014[CSSDevConf] Adaptive Images in Responsive Web Design 2014
[CSSDevConf] Adaptive Images in Responsive Web Design 2014Christopher Schmitt
 
[rwdsummit] Adaptive Images in Responsive Web Design
[rwdsummit] Adaptive Images in Responsive Web Design[rwdsummit] Adaptive Images in Responsive Web Design
[rwdsummit] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[artifactconf] Github for People Who Don't Code
[artifactconf] Github for People Who Don't Code[artifactconf] Github for People Who Don't Code
[artifactconf] Github for People Who Don't CodeChristopher Schmitt
 
[cssdevconf] Adaptive Images in Responsive Web Design
[cssdevconf] Adaptive Images in Responsive Web Design[cssdevconf] Adaptive Images in Responsive Web Design
[cssdevconf] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[parisweb] Adaptive Images in Responsive Web Design
[parisweb] Adaptive Images in Responsive Web Design[parisweb] Adaptive Images in Responsive Web Design
[parisweb] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[peachpit] Adaptive Images in Responsive Web Design
[peachpit] Adaptive Images in Responsive Web Design[peachpit] Adaptive Images in Responsive Web Design
[peachpit] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[jqconatx] Adaptive Images for Responsive Web Design
[jqconatx] Adaptive Images for Responsive Web Design[jqconatx] Adaptive Images for Responsive Web Design
[jqconatx] Adaptive Images for Responsive Web DesignChristopher Schmitt
 
[wvbcn] Adaptive Images in Responsive Web Design
[wvbcn] Adaptive Images in Responsive Web Design[wvbcn] Adaptive Images in Responsive Web Design
[wvbcn] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[drupalcampatx] Adaptive Images in Responsive Web Design
[drupalcampatx] Adaptive Images in Responsive Web Design[drupalcampatx] Adaptive Images in Responsive Web Design
[drupalcampatx] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[refreshpitt] Adaptive Images in Responsive Web Design
[refreshpitt] Adaptive Images in Responsive Web Design[refreshpitt] Adaptive Images in Responsive Web Design
[refreshpitt] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[psuweb] Adaptive Images in Responsive Web Design
[psuweb] Adaptive Images in Responsive Web Design[psuweb] Adaptive Images in Responsive Web Design
[psuweb] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
GitHub for People Who Don't Code
GitHub for People Who Don't CodeGitHub for People Who Don't Code
GitHub for People Who Don't CodeChristopher Schmitt
 
[wcatx] Adaptive Images in Responsive Web Design
[wcatx] Adaptive Images in Responsive Web Design[wcatx] Adaptive Images in Responsive Web Design
[wcatx] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[HEWEBFL] Adaptive Images in Responsive Web Design
[HEWEBFL] Adaptive Images in Responsive Web Design[HEWEBFL] Adaptive Images in Responsive Web Design
[HEWEBFL] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[refreshaustin] Adaptive Images in Responsive Web Design
[refreshaustin] Adaptive Images in Responsive Web Design[refreshaustin] Adaptive Images in Responsive Web Design
[refreshaustin] Adaptive Images in Responsive Web DesignChristopher Schmitt
 
[sxsw2013] Extremely Compressed JPEGs
[sxsw2013] Extremely Compressed JPEGs[sxsw2013] Extremely Compressed JPEGs
[sxsw2013] Extremely Compressed JPEGsChristopher Schmitt
 
[html5tx] Adaptive Images in Responsive Web Design
[html5tx] Adaptive Images in Responsive Web Design[html5tx] Adaptive Images in Responsive Web Design
[html5tx] Adaptive Images in Responsive Web DesignChristopher Schmitt
 

Más de Christopher Schmitt (20)

Keeping Colors from Killing Your Product
Keeping Colors from Killing Your ProductKeeping Colors from Killing Your Product
Keeping Colors from Killing Your Product
 
[funka] Adaptive Images in Responsive Web Design
[funka] Adaptive Images in Responsive Web Design[funka] Adaptive Images in Responsive Web Design
[funka] Adaptive Images in Responsive Web Design
 
[Austin WordPress Meetup] Adaptive Images in Responsive Web Design
[Austin WordPress Meetup] Adaptive Images in Responsive Web Design[Austin WordPress Meetup] Adaptive Images in Responsive Web Design
[Austin WordPress Meetup] Adaptive Images in Responsive Web Design
 
[CSSDevConf] Adaptive Images in Responsive Web Design 2014
[CSSDevConf] Adaptive Images in Responsive Web Design 2014[CSSDevConf] Adaptive Images in Responsive Web Design 2014
[CSSDevConf] Adaptive Images in Responsive Web Design 2014
 
[rwdsummit] Adaptive Images in Responsive Web Design
[rwdsummit] Adaptive Images in Responsive Web Design[rwdsummit] Adaptive Images in Responsive Web Design
[rwdsummit] Adaptive Images in Responsive Web Design
 
[artifactconf] Github for People Who Don't Code
[artifactconf] Github for People Who Don't Code[artifactconf] Github for People Who Don't Code
[artifactconf] Github for People Who Don't Code
 
[cssdevconf] Adaptive Images in Responsive Web Design
[cssdevconf] Adaptive Images in Responsive Web Design[cssdevconf] Adaptive Images in Responsive Web Design
[cssdevconf] Adaptive Images in Responsive Web Design
 
[parisweb] Adaptive Images in Responsive Web Design
[parisweb] Adaptive Images in Responsive Web Design[parisweb] Adaptive Images in Responsive Web Design
[parisweb] Adaptive Images in Responsive Web Design
 
[peachpit] Adaptive Images in Responsive Web Design
[peachpit] Adaptive Images in Responsive Web Design[peachpit] Adaptive Images in Responsive Web Design
[peachpit] Adaptive Images in Responsive Web Design
 
[jqconatx] Adaptive Images for Responsive Web Design
[jqconatx] Adaptive Images for Responsive Web Design[jqconatx] Adaptive Images for Responsive Web Design
[jqconatx] Adaptive Images for Responsive Web Design
 
[wvbcn] Adaptive Images in Responsive Web Design
[wvbcn] Adaptive Images in Responsive Web Design[wvbcn] Adaptive Images in Responsive Web Design
[wvbcn] Adaptive Images in Responsive Web Design
 
[drupalcampatx] Adaptive Images in Responsive Web Design
[drupalcampatx] Adaptive Images in Responsive Web Design[drupalcampatx] Adaptive Images in Responsive Web Design
[drupalcampatx] Adaptive Images in Responsive Web Design
 
[refreshpitt] Adaptive Images in Responsive Web Design
[refreshpitt] Adaptive Images in Responsive Web Design[refreshpitt] Adaptive Images in Responsive Web Design
[refreshpitt] Adaptive Images in Responsive Web Design
 
[psuweb] Adaptive Images in Responsive Web Design
[psuweb] Adaptive Images in Responsive Web Design[psuweb] Adaptive Images in Responsive Web Design
[psuweb] Adaptive Images in Responsive Web Design
 
GitHub for People Who Don't Code
GitHub for People Who Don't CodeGitHub for People Who Don't Code
GitHub for People Who Don't Code
 
[wcatx] Adaptive Images in Responsive Web Design
[wcatx] Adaptive Images in Responsive Web Design[wcatx] Adaptive Images in Responsive Web Design
[wcatx] Adaptive Images in Responsive Web Design
 
[HEWEBFL] Adaptive Images in Responsive Web Design
[HEWEBFL] Adaptive Images in Responsive Web Design[HEWEBFL] Adaptive Images in Responsive Web Design
[HEWEBFL] Adaptive Images in Responsive Web Design
 
[refreshaustin] Adaptive Images in Responsive Web Design
[refreshaustin] Adaptive Images in Responsive Web Design[refreshaustin] Adaptive Images in Responsive Web Design
[refreshaustin] Adaptive Images in Responsive Web Design
 
[sxsw2013] Extremely Compressed JPEGs
[sxsw2013] Extremely Compressed JPEGs[sxsw2013] Extremely Compressed JPEGs
[sxsw2013] Extremely Compressed JPEGs
 
[html5tx] Adaptive Images in Responsive Web Design
[html5tx] Adaptive Images in Responsive Web Design[html5tx] Adaptive Images in Responsive Web Design
[html5tx] Adaptive Images in Responsive Web Design
 

Último

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Looking into HTML5 + CSS3

  • 1. LOOKING INTO HTML5+CSS3 CHRISTOPHER SCHMITT | http://twitter.com/teleject
  • 2. One Look at Flash
  • 3. LOOKING INTO HTML5+CSS3 CHRISTOPHER SCHMITT | http://twitter.com/teleject
  • 4. THINGS ARE GOOD BETWEEN US, XHTML, RIGHT? I MEAN. WE GET ALONG WELL. AND WE BOTH LIKE STUFF.
  • 5. “THE ATTEMPT TO GET THE WORLD TO SWITCH TO XML, INCLUDING QUOTES AROUND ATTRIBUTE VALUES AND SLASHES IN EMPTY TAGS AND NAMESPACES ALL AT ONCE DIDN'T WORK.” -TIM BERNERS-LEE
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. “TAKE CARE OF THE LUXURIES AND THE NECESSITIES WILL TAKE CARE OF THEMSELVES.” -FRANK LLOYD WRIGHT
  • 15. NEW HTML5 ELEMENTS • article • figure • progress • aside • footer • rp • audio • header • rt • canvas • hgroup • ruby • command • keygen • section • datalist • mark • source • details • meter • time • dialog • nav • video • embed • output
  • 16. NEW HTML5 ELEMENTS • article • figure • progress • aside • footer • rp • audio • header • rt • canvas • hgroup • ruby • command • keygen • section • datalist • mark • source • details • meter • time • dialog • nav • video • embed • output
  • 18. <!DOCTYPE HTML> <HTML LANG="EN"> <HEAD> <META CHARSET="UTF-8"> <TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE> </HEAD> <BODY> <H1>....</H1> <P>...</P> </BODY> </HTML>
  • 19. <!DOCTYPE HTML> <TITLE>HTML5</TITLE> <P>HELLO WORLD</P> http://validator.w3.org/check?uri=http%3A%2F%2Fjsbin.com %2Fowata&ss=1
  • 20.
  • 21. DIV ID=”header” DIV ID=”nav” DIV ID=”section” DIV ID=”sidecolumn” DIV ID=”article” DIV ID=”footer”
  • 22. HEADER NAV SECTION ASIDE ARTICLE FOOTER
  • 23. <BODY> <HEADER> <H1>HEADING </H1> </HEADER> <NAV> <H3>SITE NAVIGATION</H3> <UL>...</UL> </NAV> <SECTION> <H3>WEBLOG ENTRY</H3> <ARTICLE> </ARTICLE </SECTION> <ASIDE> <P>YOU ARE READING "CHOCOLATE RAIN", AN ENTRY POSTED ON <TIME DATETIME="2009-03-05">5 MARCH, 2009</TIME>, TO THE <A HREF="#">MISTY COLLECTION</A>. SEE OTHER POSTS IN <A HREF="#">THIS COLLECTION</A>.</P> </ASIDE> <FOOTER> <P>...</P> </FOOTER> </BODY>
  • 24.
  • 25.
  • 27.
  • 29. HEADER NAV SECTION ASIDE ARTICLE FOOTER
  • 30.
  • 31.
  • 32. LESSONS LEARNED • New HTML5 elements are treated as inline elements. • Need to use CSS property-value display:block • IE6 and IE7 need to be nudged to recognize HTML elements in order to have CSS be applied • document.createElement(‘html5element’); • Dean Edwards IE7 script doesn’t help • There isn’t a jQuery plugin to make it “easier”
  • 33. LESSONS LEARNED • For Firefox 2 and Camino (Gecko 1.9) • HTML5 pages need to be served as XHTML • Content-Type: application/xhtml+xml; • ...Let the irony set for a bit.
  • 34. <?PHP IF ( STRPOS($_SERVER['HTTP_USER_AGENT'], 'FIREFOX/2.0') > -1) { HEADER("CONTENT-TYPE: APPLICATION/XHTML+XML; CHARSET=UTF-8"); ECHO'<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 TRANSITIONAL//EN" "HTTP://WWW.W3.ORG/TR/XHTML1/DTD/ XHTML1-TRANSITIONAL.DTD"> <HTML XMLNS="HTTP://WWW.W3.ORG/1999/XHTML" XML:LANG="EN" LANG="EN">'; } ELSE { ECHO '<!DOCTYPE HTML><HTML>'; }?> http://tr.im/h0Rj
  • 36. <!DOCTYPE HTML> <HTML LANG="EN"> <HEAD> <META CHARSET="UTF-8"> <TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE> </HEAD> <BODY> <H1>VIDEO EXAMPLE</H1> <AUDIO SRC="HTML5TEST.OGG" AUTOPLAY CONTROLS> <A HREF="HTML5TEST.OGG">DOWNLOAD AUDIO</A> </AUDIO> </BODY> </HTML>
  • 37.
  • 38. HTML5 AUDIO • AUDIO element attributes are SRC, AUTOBUFFER, AUTOPLAY, LOOP, CONTROLS • If you don’t have CONTROL, player becomes transparent • Only able to play OGG format in nightly build of Firefox. • Could not get player to use MP3 audio
  • 39. AUDIO FILE SUPPORT Chrome 3 Firefox 3.5 Safari 4 Opera 10 Beta Ogg Vorbis Y Y MP3 Y Y WAV Y Y Y
  • 40. <!DOCTYPE HTML> <HTML LANG="EN"> <HEAD> <META CHARSET="UTF-8"> <TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE> </HEAD> <BODY> <H1>VIDEO EXAMPLE</H1> <AUDIO CONTROLS AUTOBUFFER> <SOURCE SRC="HTML5AUDIO.OGG" /> <SOURCE SRC="HTML5AUDIO.MP3" /> <!-- INCLUDE ADOBE FLASH PLAYER EMBED AND OBJECT CODE HERE --> </AUDIO> </BODY> </HTML>
  • 42. <!DOCTYPE HTML> <HTML LANG="EN"> <HEAD> <META CHARSET="UTF-8"> <TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE> </HEAD> <BODY> <H1>VIDEO EXAMPLE</H1> <OBJECT WIDTH="425" HEIGHT="344"><PARAM NAME="MOVIE" VALUE="HTTP://WWW.YOUTUBE.COM/V/ 4GUKSQAG5XI&HL=EN&FS=1"></PARAM><PARAM NAME="ALLOWFULLSCREEN" VALUE="TRUE"></PARAM><PARAM NAME="ALLOWSCRIPTACCESS" VALUE="ALWAYS"></PARAM><EMBED SRC="HTTP://WWW.YOUTUBE.COM/V/4GUKSQAG5XI&HL=EN&FS=1" TYPE="APPLICATION/X-SHOCKWAVE-FLASH" ALLOWSCRIPTACCESS="ALWAYS" ALLOWFULLSCREEN="TRUE" WIDTH="425" HEIGHT="344"></EMBED></OBJECT> </BODY> </HTML>
  • 43. <!DOCTYPE HTML> <HTML LANG="EN"> <HEAD> <META CHARSET="UTF-8"> <TITLE>BASIC HTML5 WEB DOCUMENT STRUCTURE</TITLE> </HEAD> <BODY> <H1>VIDEO EXAMPLE</H1> <VIDEO SRC="HTML5TEST.OGG" WIDTH="320" HEIGHT="240" CONTROLS POSTER="HTML5TESTVIDEOPOSTER.JPG"> <A HREF="HTML5TESTVIDEO.OGG">DOWNLOAD MOVIE</A> </VIDEO> </BODY> </HTML>
  • 44. VIDEO DEMOS • Personal demo • http://tinyvid.tv/ • http://www.mozbox.org/jdll/video.xhtml
  • 45. HTML5 VIDEO • WIDTH and HEIGHT should be required, IMO, but movie plays anyway based on the values in the video file itself. • Video formats may have their own posterframe. The browser should use that by default unless overridden by valid POSTER attribute value. • Alternative text is placed inside VIDEO element. • If you want to give users control, use CONTROL attribute.
  • 46. HTML5 VIDEO • Video can start automatically if using the AUTOPLAY=”1” attribute and value. • Specprovides for LOOP, AUTOBUFFER which also take a value of O or 1. • Codecs support...
  • 47. HTML5 VIDEO “It would be helpful for interoperability if all browsers could support the same codecs. However, there are no known codecs that satisfy all the current players: we need a codec that is known to not require per-unit or per-distributor licensing, that is compatible with the open source development model, that is of sufficient quality as to be usable, and that is not an additional submarine patent risk for large companies. This is an ongoing issue and this section will be updated once more information is available.” - http://www.whatwg.org/specs/web-apps/current-work/ #video-and-audio-codecs-for-video-elements
  • 48. VIDEO CODEC SUPPORT Firefox 3.5 Safari iPhone Android Chrome 3 Theora +Vorbis Y Y +Ogg H.264 +AAC Y Y Y +MP4 http://diveintohtml5.org/video.html
  • 49. LESSONS LEARNED • Works in nightly builds of Firefox (3.2b) and only for OGG format. • Other browsers that said they supported the VIDEO format I could not get to work on my machines. • Used VLC to encode common movie files types to OGG • Toget cross-browser, you will need to encode in more than one file format. Is it really needed? • People really, really, really want this to work.
  • 51. REPLACING ABBR • ABBRis used by screenreaders to expand abbreviations like “lbs” or “NCAAP” • Howeverunintended consequences occurred trying to workaround browser bugs for other HTML elements • What happens when a screenreaders text like this: • “Let’sgo to <abbr class="geo" title="30.300474;-97.747247">Austin, TX</ abbr>” http://www.brucelawson.co.uk/2009/microformats-accessibility-html-5-again/
  • 52. REPLACING ABBR • ABBRis used by screenreaders to expand abbreviations like “lbs” or “NCAAP” • Howeverunintended consequences occurred trying to workaround browser bugs for other HTML elements • What happens when a screenreaders text like this: • “Let’sgo to <abbr class="geo" title="30.300474;-97.747247">Austin, TX</ abbr>” http://www.brucelawson.co.uk/2009/microformats-accessibility-html-5-again/
  • 53. <DIV CLASS="VEVENT"> <A CLASS="URL" HREF="HTTP://WWW.WEB2CON.COM/">HTTP:// WWW.WEB2CON.COM</A> <SPAN CLASS="SUMMARY">WEB 2.0 CONFERENCE</SPAN>: <ABBR CLASS="DTSTART" TITLE="2007-10-05">OCTOBER 5</ABBR>- <ABBR CLASS="DTEND" TITLE="2007-10-20">19</ABBR>, AT THE <SPAN CLASS="LOCATION">ARGENT HOTEL, SAN FRANCISCO, CA</SPAN> </DIV>
  • 54. <DIV CLASS="VEVENT"> <A CLASS="URL" HREF="HTTP://WWW.WEB2CON.COM/">HTTP:// WWW.WEB2CON.COM</A> <SPAN CLASS="SUMMARY">WEB 2.0 CONFERENCE</SPAN>: <TIME CLASS="DTSTART" DATETIME="2007-10-05">OCTOBER 5</TIME>- <TIME CLASS="DTEND" DATETIME="2007-10-20">19</TIME>, AT THE <SPAN CLASS="LOCATION">ARGENT HOTEL, SAN FRANCISCO, CA</SPAN> </DIV> http://www.brucelawson.co.uk/2009/microformats-accessibility-html-5-again/
  • 56. <CANVAS ID="MYCANVAS" WIDTH="300" HEIGHT="150"> FALLBACK CONTENT, IN CASE THE BROWSER DOES NOT SUPPORT CANVAS. </CANVAS>
  • 57. <SCRIPT TYPE="TEXT/JAVASCRIPT"><!-- WINDOW.ADDEVENTLISTENER('LOAD', FUNCTION () { // GET THE CANVAS ELEMENT. VAR ELEM = DOCUMENT.GETELEMENTBYID('MYCANVAS'); IF (!ELEM || !ELEM.GETCONTEXT) { RETURN; } // GET THE CANVAS 2D CONTEXT. VAR CONTEXT = ELEM.GETCONTEXT('2D'); IF (!CONTEXT) { RETURN; } // NOW YOU ARE DONE! LET'S DRAW A BLUE RECTANGLE. CONTEXT.FILLSTYLE = '#00F'; CONTEXT.FILLRECT(0, 0, 150, 100); }, FALSE); // --></SCRIPT>
  • 58.
  • 59. // GET THE CANVAS ELEMENT. VAR ELEM = DOCUMENT.GETELEMENTBYID('MYCANVAS'); IF (!ELEM || !ELEM.GETCONTEXT) { RETURN; } // GET THE CANVAS 2D CONTEXT. VAR CONTEXT = ELEM.GETCONTEXT('2D'); IF (!CONTEXT) { RETURN; } CONTEXT.FILLSTYLE = '#00F'; CONTEXT.STROKESTYLE = '#F00'; CONTEXT.LINEWIDTH = 4; // DRAW A RIGHT TRIANGLE. CONTEXT.BEGINPATH(); CONTEXT.MOVETO(10, 10); CONTEXT.LINETO(100, 10); CONTEXT.LINETO(10, 100); CONTEXT.LINETO(10, 10); CONTEXT.FILL(); CONTEXT.STROKE(); CONTEXT.CLOSEPATH(); }, FALSE);
  • 60.
  • 61. // GET THE CANVAS ELEMENT. VAR ELEM = DOCUMENT.GETELEMENTBYID('MYCANVAS'); IF (!ELEM || !ELEM.GETCONTEXT) { RETURN; } // GET THE CANVAS 2D CONTEXT. VAR CONTEXT = ELEM.GETCONTEXT('2D'); IF (!CONTEXT) { RETURN; } CONTEXT.FILLSTYLE = '#00F'; CONTEXT.STROKESTYLE = '#F00'; CONTEXT.LINEWIDTH = 4; // DRAW A RIGHT TRIANGLE. CONTEXT.BEGINPATH(); CONTEXT.MOVETO(10, 10); CONTEXT.LINETO(100, 10); CONTEXT.LINETO(10, 100); CONTEXT.LINETO(10, 10); CONTEXT.FILL(); CONTEXT.STROKE(); CONTEXT.CLOSEPATH(); }, FALSE);
  • 63. HTML5 AND LOCAL DATABASE, APP CACHE, GEOLOCATION, YOUR PHONE
  • 65. DATABASE, APP CACHE, GEOLOCATION LINKS • W3C HTML5 Database Storage Specification: http://tr.im/h13y • W3C Geolocation API Specification: http://tr.im/h12L • W3C HTML5 Offline Web Applications: http://tr.im/h12z • Safari Dev Connection on HTML5 Offline Application Cache: http://tr.im/h12f • WebKit Does HTML5 Client-Side Storage: http://tr.im/h140
  • 66. “HTML 5 IS A KLUDGE.” - BRUCE LAWSON
  • 67.
  • 68. LOOKING GOOD CSS3
  • 69. “NEW” “CSS3” PROPERTIES • @font-face • stretching images • text-shadow • rotating images • background color opacity (RGBA) • setting gradients • text columns • alpha transparent IMG • rounded corners • box shadow • multiple images on one HTML • CSS masks element • opacity on elements • setting images on borders • CSS animation
  • 71.
  • 73. #COLUMN { -MOZ-COLUMN-GAP: 3EM; -MOZ-COLUMN-WIDTH: 11EM; -WEBKIT-COLUMN-GAP: 3EM; -WEBKIT-COLUMN-WIDTH: 11EM; PADDING: 10PX; }
  • 74. #COLUMN { -MOZ-COLUMN-GAP: 3EM; -MOZ-COLUMN-WIDTH: 11EM; -MOZ-COLUMN-RULE: 1PX SOLID #CCC; -WEBKIT-COLUMN-GAP: 3EM; -WEBKIT-COLUMN-WIDTH: 11EM; -WEBKIT-COLUMN-RULE: 1PX SOLID #CCC; PADDING: 10PX; }
  • 75. LESSONS LEARNED • Proprietary CSS extensions in Firefox and Safari. • JavaScriptsolution through a jQuery plugin: http://welcome.totheinter.net/2008/07/22/multi-column-layout- with-css-and-jquery/
  • 77.
  • 78. #NUMBER4 { OPACITY: .4; /* .4 = 40% TRANSPARENCY */ FILTER: ALPHA(OPACITY=40); /* 40 = 40% TRANSPARENCY */ }
  • 79. LESSONS LEARNED • Supported in Firefox 1.5+, Opera 9+, Safari 1.2+ and Chrome. • IE5.5+ requires the use of its own alpha filter in order for the effect to be cross-browser. •A drawback to using the opacity filter is that the value is inherited: • If a parent element is set to be 10% transparent, the child elements’ transparency is also going to be 10%. • Watch out for legibility issues within the Web page.
  • 81.
  • 82. #NUMBER4 { BACKGROUND-COLOR: RGBA(255, 255, 0, .4); }
  • 83. #NUMBER4 { BACKGROUND-COLOR: RGB(255, 255, 0); BACKGROUND-COLOR: RGBA(255, 255, 0, .4); }
  • 84. LESSONS LEARNED • Firefox 3+, Opera 10+, and Safari support RGBA • Requires another background-color property for cross-browser support. • IE Support!
  • 85. #NUMBER4 { BACKGROUND-COLOR: TRANSPARENT; FILTER:PROGID:DXIMAGETRANSFORM.MICROSOFT.GRADIENT(STARTCO LORSTR=#66FFFF00,ENDCOLORSTR=#66FFFF00); }
  • 86. LESSONS LEARNED • First step is to convert the RGB value of the color to hexadecimal. In this example, rgb(255,255,0) converts to #FFFF00. • Next, convert the alpha transparency value to hexadecimal string . In this example, the value is 66. • E.g., alpha value of .3 equals 4D in hexadecimal values • Then assemble the hexadecimal value for transparency and the color together in one string, starting with the transparency: #66FFFF00.
  • 88.
  • 89. #HEADER .BORDER { BORDER: 1PX SOLID #930; -WEBKIT-BORDER-IMAGE: URL(ZOD-BOX.PNG) 1 1 1 1 STRETCH STRETCH; -MOZ-BORDER-IMAGE: URL(ZOD-BOX.PNG) 1 1 1 1 STRETCH STRETCH; PADDING: 7PX; } #HEADER .WRAP { COLOR: #FFF; COLOR: RGBA(255,255,255,.9); MIN-WIDTH: 250PX; TEXT-SHADOW: 0 -1PX 0 RGBA(0,0,0,.8); BOX-SHADOW: 3PX 3PX 19PX RGBA(0,0,0,.3); -WEBKIT-BOX-SHADOW: 3PX 3PX 19PX RGBA(0,0,0,.3); -MOZ-BOX-SHADOW: 3PX 3PX 19PX RGBA(0,0,0,.3); BACKGROUND: #930; BACKGROUND: -WEBKIT-GRADIENT(LINEAR, LEFT TOP, LEFT BOTTOM, FROM(RGBA(153,51,0,.3)), TO(#6B3703), COLOR-STOP(0.5, #903000)); BACKGROUND: -MOZ-LINEAR-GRADIENT(LEFT TOP, LEFT BOTTOM, FROM(RGBA(153,51,0,.3)), TO(#6B3703), COLOR-STOP(0.5, #903000)); PADDING: 14PX; }
  • 91. @-WEBKIT-KEYFRAMES "CLOUDS" { FROM { RIGHT: 0PX; } TO { RIGHT: 100PX; } } #CLOUDS1 { WIDTH: 627PX; HEIGHT: 410PX; POSITION: ABSOLUTE; RIGHT: -300PX; TOP: 0; BACKGROUND-IMAGE: URL(CLOUDS.PNG); -WEBKIT-TRANSFORM: TRANSLATE(300PX, 0PX); -WEBKIT-ANIMATION-NAME: "CLOUDS"; -WEBKIT-ANIMATION-DURATION: 10S; -WEBKIT-ANIMATION-ITERATION-COUNT: 10; -WEBKIT-ANIMATION-DIRECTION: ALTERNATE; }
  • 92.
  • 93. HTML5+CSS3 RESOURCES • HTML5 Doctor http://html5doctor.com • “When Can I Use…” http://a.deveria.com/caniuse/ • Comparison of Layout Engines (HTML5) http://en.wikipedia.org/wiki/ Comparison_of_layout_engine s_(HTML_5)
  • 94. THANK YOU! Christopher Schmitt schmitt@heatvision.com http://twitter.com/teleject
  • 95. Creative Commons Citations http://www.flickr.com/photos/gurock20/459901107/ http://www.flickr.com/photos/wili/214317898/ http://www.flickr.com/photos/gadl/421838292/ http://www.flickr.com/photos/tantek/1141384818/ http://www.flickr.com/photos/bdougherty/3172618046/ http://dev.opera.com/articles/view/html-5-canvas-the-basics/

Notas del editor

  1. Are you kidding me?
  2. This is going to prove to you I don&apos;t know anything about Flash and how important I think it is.
  3. Are you kidding me?
  4. What is XHTML is a recasting of HTML 4 as XML? But is XML helping us out?
  5. As I saw it, the goal of XHTML was XML and that there wouldn&amp;#x2019;t need to be a need for an upgrade to HTML4. However, there comes a point when what&amp;#x2019;s planned doesn&amp;#x2019;t turned out to be true. Like the architect&amp;#x2019;s blueprint--it can never foresee the needs of the occupants 40-50 years from now. Therefore the owners adapt the house to suit their needs.
  6. Even with Flash and Silverlight, HTML and XHTML has its limitations. We need new elements to mark up content in a true semantic manner.
  7. Microformats tries to solve or overcome some of these limitations, but co-opting HTML elements and attributes is a strategy that can only be squeezed to far even with the best of intentions.
  8. BBC removed the hCalendar from it&amp;#x2019;s site due to for-machine only code reading out and keeping other industries that need ABBR tag like travel.
  9. We have Web sites that offer software like applications, we have Web sites that sport audio and video like it&amp;#x2019;s candy machine. Like chocolate rain.
  10. It&amp;#x2019;s Pretty easy to get bored with international, ALMOST- instant communication. (ONE CAN ONLY READ SO MUCH WIKIPEDIA.)
  11. As Frank Lloyd Wright once said... you take care of the stuff that will make your life easier, everything else will work itself out. What does this mean? It means we have basic Web formatting of text down and we&amp;#x2019;ve bought into this theory that this ex
  12. So what new things will we get out of HTML5?
  13. So what new things will we get out of HTML5?
  14. Pretty simple DOCTYPE; I have to copy and paste XHTML Doctypes cause I don&amp;#x2019;t remember them. And a character set, pretty common.
  15. Pretty simple DOCTYPE; I have to copy and paste XHTML Doctypes cause I don&amp;#x2019;t remember them. And a character set, pretty common.
  16. The W3C validator has a beta!
  17. A common setup for a page layout. Use of DIVs and pretty typical values for ID attributes.
  18. With HTML5, there&amp;#x2019;s an acceptance of these types of Web document structures. HTML5 has elements for HEADER, for ARTICLE, for SECTIOn, for ASIDE, for FOOTER.
  19. Using Opera as our testing browser, we can see a basic layout with CSS added for color works when applied to our new HTML5 elements.
  20. However, in IE6 (and IE7, not pictured) the browser doesn&amp;#x2019;t recognize these values. With IE taking up a huge market share of the browser market, it&amp;#x2019;s important that we at least an attempt to style the page.
  21. WIth these events, the browser recognizes the elements and the CSS properties can be applied. Tried the Dean Edwards IE7 script and it doesn&amp;#x2019;t work.
  22. With HTML5, there&amp;#x2019;s an acceptance of these types of Web document structures. HTML5 has elements for HEADER, for ARTICLE, for SECTIOn, for ASIDE, for FOOTER.
  23. these are the two main lessons I learned; granted I didn&amp;#x2019;t push the envelope by any stretch of the imagination. I feel based on my initial working there could be some problem with CSS inheritance, but you might be able to force that through
  24. these are the two main lessons I learned; granted I didn&amp;#x2019;t push the envelope by any stretch of the imagination. I feel based on my initial working there could be some problem with CSS inheritance, but you might be able to force that through
  25. these are the two main lessons I learned; granted I didn&amp;#x2019;t push the envelope by any stretch of the imagination. I feel based on my initial working there could be some problem with CSS inheritance, but you might be able to force that through
  26. Very straightforward method for including video. Notice width and height attribute, poster attribute, and alternative text. PULL UP VIDEO DEMO!!
  27. Show demo in mindield
  28. Also, the code is pretty much the HTML5 video element without height and width attributes
  29. Cross browser version.
  30. Basic Flash HTML to include a flash movie; straight from YouTube
  31. Very straightforward method for including video. Notice width and height attribute, poster attribute, and alternative text. PULL UP VIDEO DEMO!!
  32. Originally spec said for browsers venders to use the Ogg Theora video and Orr Vorbis audio and the Ogg Container format, but vendors like Apple rejected on the grounds of submarine patents. FYI, This text is all in red when you get to the page.
  33. I felt that the video support is a lot like SVG. There is a lot more potential for support for video since everyone can see the value of HTML5 videos--but it needs to make a case for a clean break from the infrastructure that companies have in Flash.
  34. I want to touch base with the microformats issue and the BBC. If you recall, it centered on the ABBR element being a bit overused.
  35. Click forward to hear audio
  36. HTML4 based hCalendar microformat from spec
  37. Replace with TIME element and use the DATETIME attribute
  38. Canvas is a new element in HTML5 allowing for an easier, powerful way to draw graphics using JavaScript. Is it like SVG?
  39. You want to check to make sure the browser supports HTML5 canvas. Then set the context--this is set for 2d, but browsers can make their own. Like Opera is testing out 3d. Then you can use
  40. canvas is supported in Opera, Firefox, and Safari--esp. in the iPhone. This is done by Dunstan Orchard. A Web-app he&amp;#x2019;s building for the iphone for tracking his workout routine.
  41. http://webkit.org/misc/DatabaseExample.html
  42. It&amp;#x2019;s still a work in progress-- and it&amp;#x2019;s a piece of work. It has to bend backwards to support HTML4 as well as lean forward to support the future of the Web as it sees fit. Which if XHTML tells you anything, it&amp;#x2019;s a guess game. So, XHTML is still, I believe, the way to go.
  43. Now is the time to stop talking about structure of documents, the fiber of the web, and start talking about looking good.
  44. So what new things will we get out of HTML5?
  45. I want to touch base with the microformats issue and the BBC. If you recall, it centered on the ABBR element being a bit overused.
  46. I felt that the video support is a lot like SVG. There is a lot more potential for support for video since everyone can see the value of HTML5 videos--but it needs to make a case for a clean break from the infrastructure that companies have in Flash.
  47. I want to touch base with the microformats issue and the BBC. If you recall, it centered on the ABBR element being a bit overused.
  48. I felt that the video support is a lot like SVG. There is a lot more potential for support for video since everyone can see the value of HTML5 videos--but it needs to make a case for a clean break from the infrastructure that companies have in Flash.
  49. I want to touch base with the microformats issue and the BBC. If you recall, it centered on the ABBR element being a bit overused.
  50. I felt that the video support is a lot like SVG. There is a lot more potential for support for video since everyone can see the value of HTML5 videos--but it needs to make a case for a clean break from the infrastructure that companies have in Flash.
  51. I felt that the video support is a lot like SVG. There is a lot more potential for support for video since everyone can see the value of HTML5 videos--but it needs to make a case for a clean break from the infrastructure that companies have in Flash.
  52. I want to touch base with the microformats issue and the BBC. If you recall, it centered on the ABBR element being a bit overused.
  53. I want to touch base with the microformats issue and the BBC. If you recall, it centered on the ABBR element being a bit overused.