SlideShare ist ein Scribd-Unternehmen logo
1 von 70
Downloaden Sie, um offline zu lesen
Rockin’
HTML5
with
DRUPAL
BAD CAMP 2010
Jen Simmons
designer, front-end developer
creating websites since HTML2
made the Bartik theme for Drupal 7
member of HTML5 Drupal Group
jensimmons.com
These slides are already at:
jen.cm/h2
HTML5
What’s up with that?
A SUPER-FAST
HISTORY
Tim Berners-Lee
created HTML
and invented
the web.
“HTML Tags”
in 1991
slides at: jen.cm/h2
HTML Tags (TBL) 1991
HTML 2.0 (IETF) 1995
HTML 3.2 (W3C) 1997
HTML 4.0 (W3C) 1997
HTML 4.01 (W3C) 1999
slides at: jen.cm/h2
slides at: jen.cm/h2
slides at: jen.cm/h2
XHTML 1.0
<div class="blog-post">
.blog-post {
color:green
}
NOT
<FONT COLOR=GREEN>
slides at: jen.cm/h2
slides at: jen.cm/h2
XHTML 1.1
“text/html” mime-type not allowed
but IE can’t read the xml mime-type…
slides at: jen.cm/h2
XHTML 2
if we knew then what we know now…
Then some stuff happened.
there was a meeting and this vote…
slides at: jen.cm/h2
THE GREAT WEB
STANDARDS / SEMANTICS
SCHISM OF JUNE 2004
evolving XHTML1.0 + CSS + DOM
(including javascript) + (later) Microformats
vs.
replacing existing technology with XHTML2
+ XForms + SVG + MathML + RDFa
slides at: jen.cm/h2
W3C
XHTML 2
WHATWG
HTML5
HTML 5
slides at: jen.cm/h2
slides at: jen.cm/h2
HTML5
slides at: jen.cm/h2
“Priority of Constituencies”
users
authors
implementors
specifiers
theoretical purity
slides at: jen.cm/h2
DESIGN PRINCIPLES
Priority of Constituencies.
Support existing content.
Do not reinvent the wheel.
Pave the Cowpaths.
Jeremy Keith's Keynote at
DrupalCon Copenhagen
http://drupalradar.com/
video-jeremy-keith-
keynote-session
slides at: jen.cm/h2
HTML5 for Web Designers
book by Jeremy Keith
http://books.alistapart.com/
products/html5-for-web-
designers
SO CAN WE USE
HTML5 TODAY?
YES.
It was made with backwards and
forwards compatibility in mind.
Old Browser
New Website
New Browser
Old Website
Must work both ways.
HTML5
Semantics
(Yummy!)
Simplified Document Head
<!DOCTYPE html>
<meta charset="utf-8" />
<script src="file.js"></script>
<link rel="stylesheet" href="file.css" />
New Structural Elements
<section>
<header>
<hgroup>
<footer>
<aside>
<article>
<nav>
+ outlining
Other New (or re-educated) Elements
<mark>
<time>
<pubdate>
<meter>
<progress>
<small>
<ruby>
+ more!
*screenshot from HTML5 Now
ARIA Roles
<header role="banner">
<div role="main">
div[role=main] { color:#999; }
ARIA Roles
Accessible Rich Internet Applications
W3C Project, http://www.w3.org/TR/
wai-aria
A List Apart, April 2007, http://
www.alistapart.com/articles/waiaria
Introducing
HTML5
Bruce Lawson &
Remy Sharp
introducinghtml5.com
slides at: jen.cm/h2
HTML5 NOW
Tantek Çelik
tantek.com/
html5now
slides at: jen.cm/h2
The Spec Itself
slides at: jen.cm/h2
http://www.whatwg.org/html5
DRUPAL
+
HTML5
slides at: jen.cm/h2
slides at: jen.cm/h2
HTML5 BASE
drupal.org/project/html5_base
slides at: jen.cm/h2
slides at: jen.cm/h2
HTML5 TOOLS
drupal.org/project/html5_tools
slides at: jen.cm/h2
slides at: jen.cm/h2
Drupal 6.19 + Basic
slides at: jen.cm/h2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>d6.local</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/node/node.css?T" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?T" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system.css?T" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/system/system-menus.css?T" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/user/user.css?T" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?T" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?T" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/basic/css/default.css?T" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/basic/css/layout.css?T" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/themes/basic/css/style.css?T" />
<link type="text/css" rel="stylesheet" media="print" href="/sites/all/themes/basic/css/print.css?T" />
<!--[if lte IE 6]><style type="text/css" media="all">@import "/sites/all/themes/basic/css/ie6.css";</style>
<!--[if IE 7]><style type="text/css" media="all">@import "/sites/all/themes/basic/css/ie7.css";</style><![e
</head>
Drupal 6.19 + Basic + Tools
slides at: jen.cm/h2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>d6.local</title>
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" media="all" href="/modules/node/node.css?z" />
<link rel="stylesheet" media="all" href="/modules/system/defaults.css?z" />
<link rel="stylesheet" media="all" href="/modules/system/system.css?z" />
<link rel="stylesheet" media="all" href="/modules/system/system-menus.css?z" />
<link rel="stylesheet" media="all" href="/modules/user/user.css?z" />
<link rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?z" />
<link rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?z" />
<link rel="stylesheet" media="all" href="/sites/all/themes/basic/css/default.css?z" />
<link rel="stylesheet" media="all" href="/sites/all/themes/basic/css/layout.css?z" />
<link rel="stylesheet" media="all" href="/sites/all/themes/basic/css/style.css?z" />
<link rel="stylesheet" media="print" href="/sites/all/themes/basic/css/print.css?z" />
<!--[if lte IE 6]><style type="text/css" media="all">@import "/sites/all/themes/basic/css/ie6.css";</style>
<!--[if IE 7]><style type="text/css" media="all">@import "/sites/all/themes/basic/css/ie7.css";</style><![e
</head>
removed type="text/css"
Drupal 6.19 + Base + Tools
slides at: jen.cm/h2
<!DOCTYPE html>
<html lang="en" dir="ltr" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>d6.local</title>
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" media="all" href="/modules/node/node.css?G" />
<link rel="stylesheet" media="all" href="/modules/system/defaults.css?G" />
<link rel="stylesheet" media="all" href="/modules/system/system.css?G" />
<link rel="stylesheet" media="all" href="/modules/system/system-menus.css?G" />
<link rel="stylesheet" media="all" href="/modules/user/user.css?G" />
<link rel="stylesheet" media="all" href="/sites/all/modules/cck/theme/content-module.css?G" />
<link rel="stylesheet" media="all" href="/sites/all/modules/views/css/views.css?G" />
<link rel="stylesheet" media="all" href="/sites/all/themes/html5_base/css/default.css?G" />
<link rel="stylesheet" media="all" href="/sites/all/themes/html5_base/css/html5.css?G" />
<link rel="stylesheet" media="all" href="/sites/all/themes/html5_base/css/layout.css?G" />
<link rel="stylesheet" media="all" href="/sites/all/themes/html5_base/css/style.css?G" />
<link rel="stylesheet" media="print" href="/sites/all/themes/html5_base/css/print.css?G" />
<!-- www.phpied.com/conditional-comments-block-downloads/ -->
<!--[if IE]><![endif]-->
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>
slides at: jen.cm/h2
slides at: jen.cm/h2
slides at: jen.cm/h2
HTML5
Forms
HTML5 FORM API
<label for="favorite-cms">Your Favorite CMS</label>
<input id="favorite-cms" name="favorite-cms"
type="text" placeholder="Drupal. What else?" />
<label for="email">Email address</label>
<input id="email" name="email" type="email" />
<label for="website">Website </label>
<input id="website" name="website" type="url" />
<label for="phone">Phone number</label>
<input id="phone" name="phone" type="tel" />
<label for="number">How many?</label>
<input id="number" name="number" type="number"
min="0" max="11" step="1" value="5"/>
http://diveintohtml5.org/forms.html
HTML5 FORMS
date picker
search box
number as a slider with a range
input type="color"
slides at: jen.cm/h2
HTML5 TOOLS
+
ELEMENTS
slides at: jen.cm/h2
HTML5
Video &
Audio
REALLY COOL.
HTML5
Other APIs
HTML5 APIs
Geolocation
Communication
APIs
Websockets
Web Workers
Web Storage
Offline
Applications
slides at: jen.cm/h2
PRO HTML5
PROGRAMMING
Peter Lubbers,
Brian Albers and
Frank Salim
slides at: jen.cm/h2
HTML5
Resources
http://diveintohtml5.org/
slides at: jen.cm/h2
http://html5doctor.com/
slides at: jen.cm/h2
Jeremy Keith's Keynote at
DrupalCon Copenhagen
http://drupalradar.com/
video-jeremy-keith-
keynote-session
slides at: jen.cm/h2
HTML5 for Web Designers
book by Jeremy Keith
http://books.alistapart.com/
products/html5-for-web-
designers
Introducing
HTML5
Bruce Lawson &
Remy Sharp
introducinghtml5.com
slides at: jen.cm/h2
HTML5 NOW
Tantek Çelik
tantek.com/
html5now
slides at: jen.cm/h2
PRO HTML5
PROGRAMMING
Peter Lubbers,
Brian Albers and
Frank Salim
slides at: jen.cm/h2
The Spec Itself
slides at: jen.cm/h2
http://www.whatwg.org/html5
HTML5 + Drupal:
Drupal HTML5 Group
IRC: #drupal-html5
HTML5 Tools (& issue queue)
HTML5 Base (& issue queue)
slides at: jen.cm/h2
Jen Simmons
twitter: jensimmons
jensimmons.com
irc: jensimmons
please comment at jen.cm/h2

Weitere ähnliche Inhalte

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
[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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 
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
 
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...
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Rockinhtml5withdrupal badcamp