SlideShare a Scribd company logo
QUALITY DEVELOPMENT
WITH HTML5


Shay Howe
September 2011
www.shayhowe.com – @letscounthedays
SHAY HOWE
               www.shayhowe.com – @letscounthedays




Quality Development with HTML5 & CSS3                @letscounthedays
HTML5                              CSS3
  Markup language to give               Presentation language to
   content structure and                 give content style and
         meaning.                             appearance.




Quality Development with HTML5 & CSS3                    @letscounthedays
Quality Development with HTML5 & CSS3   @letscounthedays
HTML5
Quality Development with HTML5 & CSS3   @letscounthedays
HTML5 IS SIMPLE



Quality Development with HTML5 & CSS3   @letscounthedays
DOCTYPE
HTML
<!DOCTYPE	
  html	
  PUBLIC	
  "-­‐//W3C//DTD	
  HTML	
  4.01	
  
  Transitional//EN"	
  "http://www.w3.org/TR/
  html4/loose.dtd">

HTML5
<!DOCTYPE	
  html>




Quality Development with HTML5 & CSS3                     @letscounthedays
LANGUAGE
HTML
<html	
  xmlns="http://www.w3.org/1999/xhtml"	
  
  lang="en"	
  xml:lang="en">

HTML5
<html	
  lang="en">




Quality Development with HTML5 & CSS3         @letscounthedays
CHARACTER ENCODING
HTML
<meta	
  http-­‐equiv="Content-­‐Type"	
  content="text/
  html;	
  charset=UTF-­‐8">

HTML5
<meta	
  charset="UTF-­‐8">




Quality Development with HTML5 & CSS3            @letscounthedays
CSS
HTML
<link	
  rel="stylesheet"	
  type="text/css"	
  
  href="file.css">

HTML5
<link	
  rel="stylesheet"	
  href="file.css">




Quality Development with HTML5 & CSS3              @letscounthedays
JAVASCRIPT
HTML
<script	
  type="text/javascript"	
  src="file.js"></
  script>

HTML5
<script	
  src="file.js"></script>




Quality Development with HTML5 & CSS3        @letscounthedays
GETTING STARTED



Quality Development with HTML5 & CSS3   @letscounthedays
GETTING STARTED
HTML5 Shiv
<!-­‐-­‐[if	
  IE]>
  <script	
  src="http://html5shiv.googlecode.com/
         svn/trunk/html5.js"></script>
<![endif]-­‐-­‐>

CSS
article,	
  aside,	
  footer,	
  header,	
  hgroup,	
  nav,	
  
section	
  {
  display:	
  block;
}



Quality Development with HTML5 & CSS3                   @letscounthedays
HTML5 IS SEMANTIC



Quality Development with HTML5 & CSS3   @letscounthedays
NEW ELEMENTS
• article                               • footer     • rt
• aside                                 • header     • ruby
• audio                                 • hgroup     • section
• canvas                                • keygen     • source
• command                               • mark       • summary
• datalist                              • meter      • time
• details                               • nav        • video
• embed                                 • output     • wbr
• figcaption                            • progress
• figure                                • rp




Quality Development with HTML5 & CSS3                          @letscounthedays
STRUCTURAL ELEMENTS
• header
• nav
• article
• section
• aside
• footer




Quality Development with HTML5 & CSS3   @letscounthedays
STRUCTURAL ELEMENTS
<body>
  <header>...</header>
  <nav>...</nav>
  <article>
    <section>...</section>
  </article>
  <aside...</aside>
  <footer>...</footer>
</body>




Quality Development with HTML5 & CSS3   @letscounthedays
STRUCTURAL ELEMENTS




Quality Development with HTML5 & CSS3   @letscounthedays
HGROUP
<header>
  <hgroup>
    <h1>Shay	
  Howe</h1>
    <h2>Man,	
  Myth	
  or	
  Legend</h2>
  </hgroup>
</header>




Quality Development with HTML5 & CSS3       @letscounthedays
HGROUP




Quality Development with HTML5 & CSS3   @letscounthedays
TIME
<time	
  datetime="15:00">3pm</time>

<time	
  datetime="2011-­‐08-­‐24">August	
  24th,	
  2011</
  time>

<time	
  datetime="2011-­‐08-­‐24T15:00">August	
  24th,
	
  	
  2011	
  at	
  3pm</time>

<time	
  datetime="2011-­‐08-­‐24"	
  pubdate>August
	
  	
  24th,	
  2011</time>

<time>2011-­‐08-­‐24</time>


Quality Development with HTML5 & CSS3              @letscounthedays
TIME




Quality Development with HTML5 & CSS3   @letscounthedays
FIGURE & FIGCAPTION
<figure>
  <img	
  src="shay.jpg"	
  alt="Shay	
  Howe">
  <figcaption>Shay	
  Howe	
  the	
  Man</figcaption>
</figure>

<figure>
  <img	
  src="june.jpg"	
  alt="June">
  <img	
  src="july.jpg"	
  alt="July">
  <img	
  src="august.jpg"	
  alt="August">
  <figcaption>Summer	
  Months</figcaption>
</figure>



Quality Development with HTML5 & CSS3            @letscounthedays
FIGURE & FIGCAPTION




Quality Development with HTML5 & CSS3   @letscounthedays
MARK
<h1>Search	
  results	
  for	
  'chicago'</h1>
<ol>
  <li><a	
  href="http://www.shayhowe.com/">
    Shay	
  is	
  from	
  <mark>Chicago</mark>.
  </a></li>
</ol>




Quality Development with HTML5 & CSS3         @letscounthedays
METER
<meter>7	
  out	
  of	
  10	
  stars</meter>

<meter	
  max="10">7	
  stars</meter>

<meter	
  min="0"	
  max="105"	
  low="5"	
  high="65"	
  	
  
	
  	
  optimum="45"	
  value="47">The	
  car	
  is	
  moving	
  at	
  
	
  	
  a	
  decent	
  average	
  mile	
  per	
  hour.</meter>




Quality Development with HTML5 & CSS3                        @letscounthedays
PROGRESS
You	
  are	
  <progress>50%</progress>	
  complete.

<progress	
  min="0"	
  max="100"	
  value="50">Hold	
  
	
  	
  tight,	
  your	
  getting	
  there.</progress>




Quality Development with HTML5 & CSS3              @letscounthedays
AUDIO



Quality Development with HTML5 & CSS3           @letscounthedays
AUDIO
<audio	
  src="song.mp3"></audio>

<audio	
  src="song.mp3"	
  autoplay	
  controls	
  loop	
  
	
  	
  preload="auto"></audio>




Quality Development with HTML5 & CSS3                 @letscounthedays
AUDIO CONTROLS
<audio	
  id="player"	
  src="song.mp3"></audio>
<div>
   <button	
  onclick="document.getElementById('player').play()">
      Play
   </button>
   <button	
  onclick="document.getElementById('player').pause()">
         Pause
   </button>
   <button	
  onclick="document.getElementById('player').volume	
  +=	
  0.1">
         Volume	
  Up
   </button>
   <button	
  onclick="document.getElementById('player').volume	
  -­‐=	
  0.1">
         Volume	
  Down
   </button>
</div>




Quality Development with HTML5 & CSS3                                 @letscounthedays
AUDIO FALLBACKS
<audio	
  controls>
  <source	
  src="song.ogg"	
  type="audio/ogg">
  <source	
  src="song.mp3"	
  type="audio/mpeg">
  <object	
  type="application/x-­‐shockwave-­‐flash"	
  
    data="player.swf?soundFile=song.mp3">
      <param	
  name="movie"
           value="player.swf?soundFile=wild-­‐
           thing.mp3">
      <a	
  href="song.mp3">Download	
  song</a>
  </object>
</audio>




Quality Development with HTML5 & CSS3               @letscounthedays
VIDEO



Quality Development with HTML5 & CSS3           @letscounthedays
VIDEO
<video	
  src="movie.mp4"	
  controls	
  height="390"	
  
  width="640"></video>

<video	
  src="movie.mp4"	
  controls	
  height="390"	
  
	
  	
  width="640"	
  poster="image.jpg"></video>




Quality Development with HTML5 & CSS3              @letscounthedays
FORMS



Quality Development with HTML5 & CSS3           @letscounthedays
NEW INPUTS
• color                                 • range
• date                                  • search
• datetime                              • tel
• datetime-­‐local                      • time
• email                                 • url
• month                                 • week
• number




Quality Development with HTML5 & CSS3              @letscounthedays
COLOR
<input	
  id="color"	
  name="color"	
  type="color">




Quality Development with HTML5 & CSS3           @letscounthedays
DATE & TIME
• date:	
  2011-­‐08-­‐24
• datetime:	
  2011-­‐08-­‐24T12:00:00+01	
  
• datetime-­‐local:	
  2011-­‐08-­‐24T12:00:00
• month:	
  2011-­‐08
• time:	
  12:00:00
• week:	
  2011-­‐W34


<input	
  id="birthday"	
  
  name="birthday"	
  
  type="datetime-­‐local">




Quality Development with HTML5 & CSS3            @letscounthedays
DATE & TIME




Quality Development with HTML5 & CSS3   @letscounthedays
EMAIL
<input	
  id="email"	
  name="email"	
  type="email">




Quality Development with HTML5 & CSS3           @letscounthedays
EMAIL




Quality Development with HTML5 & CSS3   @letscounthedays
NUMBER
<input	
  id="cost"	
  name="cost"	
  type="number"	
  
  min="10"	
  max="100">




Quality Development with HTML5 & CSS3              @letscounthedays
RANGE
<input	
  id="rating"	
  name="rating"	
  type="range"	
  
  min="1"	
  max="10">




Quality Development with HTML5 & CSS3              @letscounthedays
SEARCH
<input	
  id="query"	
  name="query"	
  type="search">




Quality Development with HTML5 & CSS3           @letscounthedays
TEL
<input	
  id="phone"	
  name="phone"	
  type="tel">




Quality Development with HTML5 & CSS3            @letscounthedays
TEL




Quality Development with HTML5 & CSS3   @letscounthedays
URL
<input	
  id="website"	
  name="website"	
  type="url">




Quality Development with HTML5 & CSS3           @letscounthedays
URL




Quality Development with HTML5 & CSS3   @letscounthedays
NEW ATTRIBUTES
• autocomplete                          • min
• autofocus                             • multiple
• formaction                            • novalidate
• formenctype                           • pattern
• formmethod                            • placeholder
• formnovalidate                        • readonly
• formtarget                            • required
• list                                  • spellcheck
• max                                   • step




Quality Development with HTML5 & CSS3                   @letscounthedays
AUTOCOMPLETE
<form	
  action="#"	
  autocomplete="off">

<input	
  id="destination"	
  name="destination"	
  
	
  	
  type="text"	
  autocomplete="off">




Quality Development with HTML5 & CSS3            @letscounthedays
AUTOFOCUS
<input	
  id="name"	
  name="name"	
  type="text"	
  
	
  	
  autofocus>




Quality Development with HTML5 & CSS3               @letscounthedays
DATALIST
<input	
  id="city"	
  name="city"	
  type="city"	
  
	
  	
  list="cities">
<datalist	
  id="cities">
       <option	
  value="Chicago">
       <option	
  value="Los	
  Angeles">
       <option	
  value="New	
  York">
</datalist>




Quality Development with HTML5 & CSS3               @letscounthedays
MIN, MAX & STEP
<input	
  id="score"	
  name="score"	
  type="number"	
  
  min="0"	
  max="10"	
  step="2">




Quality Development with HTML5 & CSS3              @letscounthedays
PLACEHOLDER
<input	
  id="destination"	
  name="destination"	
  
  type="text"	
  placeholder="Your	
  destination">




Quality Development with HTML5 & CSS3          @letscounthedays
PLACEHOLDER




Quality Development with HTML5 & CSS3   @letscounthedays
REQUIRED
<input	
  id="name"	
  name="name"	
  type="text"	
  
	
  	
  required>




Quality Development with HTML5 & CSS3               @letscounthedays
REQUIRED




Quality Development with HTML5 & CSS3   @letscounthedays
PATTERN
<input	
  id="phone"	
  name="phone"	
  type="tel"	
  
  pattern="^[0-­‐9]+[-­‐	
  ]*[0-­‐9]+$">




Quality Development with HTML5 & CSS3               @letscounthedays
PATTERN




Quality Development with HTML5 & CSS3   @letscounthedays
CHANGED ELEMENTS



Quality Development with HTML5 & CSS3   @letscounthedays
A
OLD
<p><a	
  href="http://www.shayhowe.com/">Shay	
  
	
  	
  Howe</a>	
  is	
  a	
  front-­‐end	
  web	
  designer	
  and	
  
	
  	
  developer.</p>

NEW
<a	
  href="http://www.shayhowe.com/">
  <h1>Shay	
  Howe</h1>
  <p>Front-­‐end	
  web	
  designer	
  and	
  developer.</p>
</a>




Quality Development with HTML5 & CSS3                              @letscounthedays
B
OLD
Text rendered as bold.

NEW
Text stylistically offset without importance.




Quality Development with HTML5 & CSS3           @letscounthedays
CITE
OLD
Reference to another source.

NEW
Specifically a reference to a title of work.




Quality Development with HTML5 & CSS3          @letscounthedays
HR
OLD
Render a horizontal rule.

NEW
A paragraph-level thematic break.




Quality Development with HTML5 & CSS3   @letscounthedays
I
OLD
Text rendered as italic.

NEW
Text in an alternative voice or tone.




Quality Development with HTML5 & CSS3   @letscounthedays
MENU
OLD
A single column menu list.

NEW
A group of controls, most commonly used within web
applications.




Quality Development with HTML5 & CSS3         @letscounthedays
S
OLD
Text rendered with a line through it.

NEW
Text struck from the content that is no longer accurate or
relevant.




Quality Development with HTML5 & CSS3             @letscounthedays
SMALL
OLD
Text rendered as small.

NEW
Text within side comments or small print.




Quality Development with HTML5 & CSS3       @letscounthedays
OBSOLETE ELEMENTS
     & ATTRIBUTES


Quality Development with HTML5 & CSS3   @letscounthedays
OBSOLETE ELEMENTS
• acronym                               • frame
• applet                                • frameset
• basefont                              • isindex
• big                                   • noframes
• center                                • strike
• dir                                   • tt
• font                                  •u


Deprecated from HTML 4.0




Quality Development with HTML5 & CSS3                @letscounthedays
OBSOLETE ATTRIBUTES
• align                                 • frame         • profile
• alink                                 • frameborder   • scrolling
• background                            • hspace        • shape
• bgcolor                               • link          • size
• border                                • name          • target
• cellpadding                           • nohref        • text
• cellspacing                           • noshade       • type
• coords                                • nowrap        • valign




Quality Development with HTML5 & CSS3                             @letscounthedays
HOMEWORK
Microformats
hAtom, hCalendar, hCard, hReview

WAI-ARIA Roles
banner, complementary, contentinfo, main, navigation,
search




Quality Development with HTML5 & CSS3          @letscounthedays
QUESTIONS?
                                        Thank you!




Quality Development with HTML5 & CSS3                @letscounthedays

More Related Content

PDF
The Web Design Process: A Strategy for Success
PDF
7 Phases of Web Design Process
PDF
Planet DMA - DMEC 2015 - Digital Project Management Techniques & Tools
PPTX
Performing an SEO Audit of Your Website
PPTX
From Design to Delivery
PDF
Web Design Proposal Template PowerPoint Presentation Slides
PDF
Web Design And Development Proposal Template PowerPoint Presentation Slides
PDF
Website Designing Proposal Template PowerPoint Presentation Slides
The Web Design Process: A Strategy for Success
7 Phases of Web Design Process
Planet DMA - DMEC 2015 - Digital Project Management Techniques & Tools
Performing an SEO Audit of Your Website
From Design to Delivery
Web Design Proposal Template PowerPoint Presentation Slides
Web Design And Development Proposal Template PowerPoint Presentation Slides
Website Designing Proposal Template PowerPoint Presentation Slides

Viewers also liked (20)

PDF
Quality Development with CSS3
PDF
Mastering CSS3 Selectors
PDF
HTML5 Semantics
PDF
Smacking Git Around Advanced Git Tricks
PDF
Git in a nutshell
PDF
CSS: selectors and the box model
PDF
Yes, Designer, You CAN Be a Product Leader
PDF
HTML5 and the web of tomorrow!
PDF
Writing for the Web: The Right Strategy
PDF
An Intro to HTML & CSS
PDF
CSS Selectors
PDF
Git in a nutshell
PDF
Intro To Git
KEY
Git and GitHub
PDF
Fundamental CSS3
PDF
Advanced Git
PDF
Git Tutorial 教學
PDF
Getting Git Right
PDF
Intro to CSS3
Quality Development with CSS3
Mastering CSS3 Selectors
HTML5 Semantics
Smacking Git Around Advanced Git Tricks
Git in a nutshell
CSS: selectors and the box model
Yes, Designer, You CAN Be a Product Leader
HTML5 and the web of tomorrow!
Writing for the Web: The Right Strategy
An Intro to HTML & CSS
CSS Selectors
Git in a nutshell
Intro To Git
Git and GitHub
Fundamental CSS3
Advanced Git
Git Tutorial 教學
Getting Git Right
Intro to CSS3
Ad

Similar to Quality Development with HTML5 (20)

PDF
Html5 coredevsummit
ODP
Html 5 and css 3
PDF
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
KEY
Introduction to HTML5/CSS3 In Drupal 7
PDF
HTML5, just another presentation :)
PDF
A practical guide to building websites with HTML5 & CSS3
PDF
[edUiconf] HTML5 does all that… and i can haz cheeseburger? You bet!
PPTX
Html,CSS & UI/UX design
PDF
HTML5 & CSS3 in Drupal (on the Bayou)
PPTX
Training HTML
KEY
Maximising Online Resource Effectiveness Workshop Session 3/8 Priority issues
PDF
Html5 deciphered - designing concepts part 1
PPTX
Kick start @ html5
DOC
Html 5 Tags - Beginners
KEY
PDF
Introduction to HTML and CSS
PDF
INTERNSHIP PROJECT PPT RAJ HZL.pdf
KEY
HTML5: It goes to ELEVEN
PDF
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
PDF
HTML5 Pearson preso
Html5 coredevsummit
Html 5 and css 3
Beginner & Intermediate Guide to HTML5/CSS3 In Drupal
Introduction to HTML5/CSS3 In Drupal 7
HTML5, just another presentation :)
A practical guide to building websites with HTML5 & CSS3
[edUiconf] HTML5 does all that… and i can haz cheeseburger? You bet!
Html,CSS & UI/UX design
HTML5 & CSS3 in Drupal (on the Bayou)
Training HTML
Maximising Online Resource Effectiveness Workshop Session 3/8 Priority issues
Html5 deciphered - designing concepts part 1
Kick start @ html5
Html 5 Tags - Beginners
Introduction to HTML and CSS
INTERNSHIP PROJECT PPT RAJ HZL.pdf
HTML5: It goes to ELEVEN
HTML5 kickstart - Brooklyn Beta workshop 21.10.2010
HTML5 Pearson preso
Ad

More from Shay Howe (7)

PDF
Collaboration Practices
PDF
Modular HTML, CSS, & JS Workshop
PDF
How Constraints Cultivate Growth
PDF
Modular HTML & CSS
PDF
Modular HTML & CSS Workshop
PDF
Modular HTML & CSS Turbo Workshop
PDF
UI Design with HTML5 & CSS3
Collaboration Practices
Modular HTML, CSS, & JS Workshop
How Constraints Cultivate Growth
Modular HTML & CSS
Modular HTML & CSS Workshop
Modular HTML & CSS Turbo Workshop
UI Design with HTML5 & CSS3

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
A Presentation on Artificial Intelligence
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Spectroscopy.pptx food analysis technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Advanced methodologies resolving dimensionality complications for autism neur...
Reach Out and Touch Someone: Haptics and Empathic Computing
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation_ Review paper, used for researhc scholars
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Building Integrated photovoltaic BIPV_UPV.pdf
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
Unlocking AI with Model Context Protocol (MCP)
gpt5_lecture_notes_comprehensive_20250812015547.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
A Presentation on Artificial Intelligence
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Programs and apps: productivity, graphics, security and other tools
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
MYSQL Presentation for SQL database connectivity
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Per capita expenditure prediction using model stacking based on satellite ima...
Spectroscopy.pptx food analysis technology

Quality Development with HTML5