SlideShare uma empresa Scribd logo
1 de 39
Practical HTML5/CSS3 for Nonprofits (or "How to Party Like it's 2011 When it's Really Still 1999")  #11NTChtml5 Tim Arnold,  Beaconfire
Session Evaluation Each entry via text or web is a chance to win great NTEN prizes throughout the day!  TEXT Text 11NTChtml5 to 69866. ONLINE Use 11NTChtml5 at  http://nten.org/ntc/eval Session Evaluations  Powered By:
HTML Just the facts
HTML + CSS + JavaScript Things get fancy.
HTML5 Evolution
Other tired oldTOTALLY AWESOME catchphrases: AJAX      Web 2.0      SEO      B2B     DHTML *
*HTML5 no longer actually exists. Damn, that was fast. “…the term is now basically being used to mean anything Web-standards-related, so it's time to move on!” - Ian Hickson, Jan 19, 2011, WHATWG blog
“…because people seem to like easy-to-pronounce acronyms and cute logos, I proposed NEWT as a tongue-in-cheek way to highlight the jargon abuse I see happening.” - Bruce Lawson, Opera
“…because people seem to like easy-to-pronounce acronyms and cute logos, I proposed NEWT as a tongue-in-cheek way to highlight the jargon abuse I see happening.” - Bruce Lawson, Opera
HTML Tags <h1></h1> <h2></h2> <p></p> <a></a> <strong></strong> <em></em> <ul> 	<li></li> 	<li></li> </ul>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <html> 	<head> 		<title>Most Sites Today</title> 		<script type="text/javascript" src=“scripts.js“></script>  		<link type="text/css“ href=“styles.css” media=“all" rel="stylesheet“/>  	</head> 	<body> 		<div id=“container”> 			<div id=“header”> 				<ul id=“nav”> 					<li>home</li> 					<li>about us</li> 				</ul> 			</div> 			<div id=“content”> 				<div class=“post”> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</div> 				<div class=“post”> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</div> 			</div> 			<div id=“footer”> 				Copyright My Organization 			</div> 		</div> 	</body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <html> 	<head> 		<title>Most Sites Today</title> 		<script type="text/javascript" src=“scripts.js“></script>  		<link type="text/css“ href=“styles.css” media=“all" rel="stylesheet“/>  	</head> 	<body> <div id=“container”> <div id=“header”> <ul id=“nav”> 					<li>home</li> 					<li>about us</li> 				</ul> 			</div> <div id=“content”> <div class=“post”> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</div> <div class=“post”> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</div> 			</div> <div id=“footer”> 				Copyright My Organization 			</div> 		</div> 	</body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <html> 	<head> 		<title>Most Sites Today</title> 		<script type="text/javascript" src=“scripts.js“></script>  		<link type="text/css“ href=“styles.css” media=“all" rel="stylesheet“/>  	</head> 	<body> <section> <header> <nav><ul> 					<li>home</li> 					<li>about us</li> 				</nav>	</ul> 			</header> <section> <article> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> <article> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> 			</section> <footer> 				Copyright My Organization 			</footer> 		</div> 	</body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <html> 	<head> 		<title>Most Sites Today</title> 		<script type="text/javascript" src=“scripts.js“></script>  		<link type="text/css“ href=“styles.css” media=“all" rel="stylesheet“/>  	</head> 	<body> <section> 			<header> 				<nav>	<ul> 					<li>home</li> 					<li>about us</li> 				</nav>	</ul> 			</header> <section> 				<article> <h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> 				<article> <h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> 			</section> 			<footer> 				Copyright My Organization 			</footer> 		</section> 	</body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <html> 	<head> 		<title>Most Sites Today</title> 		<script type="text/javascript"src=“scripts.js“></script>  		<link type="text/css“href=“styles.css” media=“all" rel="stylesheet“/>  	</head> 	<body> 		<section> 			<header> 				<nav>	<ul> 					<li>home</li> 					<li>about us</li> 				</nav>	</ul> 			</header> 			<section> 				<article> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> 				<article> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> 			</section> 			<footer> 				Copyright My Organization 			</footer> 		</section> 	</body> </html>
<!DOCTYPE html>  <html> 	<head> 		<title>Most Sites Today</title> 		<script src=“scripts.js“></script>  		<link href=“styles.css” media=“all" rel="stylesheet“/>  	</head> 	<body> 		<section> 			<header> 				<nav>	<ul> 					<li>home</li> 					<li>about us</li> 				</nav>	</ul> 			</header> 			<section> 				<article> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> 				<article> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> 			</section> 			<footer> 				Copyright My Organization 			</footer> 		</section> 	</body> </html>
<!DOCTYPE html>  <html> 	<head> 		<title>Most Sites Today</title> 		<script src=“scripts.js“></script>  		<link href=“styles.css” media=“all" rel="stylesheet“/>  	</head> 	<body> 		<section> 			<header> 				<nav>	<ul> 					<li>home</li> 					<li>about us</li> 				</nav>	</ul> 			</header> 			<section> 				<article> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> 				<article> 					<h1>Very Intersting Title</h1> 					<p>Stuff</p> 				</article> 			</section> 			<footer> 				Copyright My Organization 			</footer> 		</section> 	</body> </html>
Other “New” HTML5 Tags You’re Welcome <aside> <figure> <mark> <time> <meter> value  min  low  high  max  optimum  <progress> <canvas> <video> <audio> <b> <i>
New Form Features <input type="number"> <input type="range"> <input type="search"> <input type="text" list="mydata”> <datalistid="mydata"> <option label="Mr" value="Mister"> <option label="Mrs" value="Mistress"> <option label="Ms" value="Miss"> </datalist>
New Form Features <input type=“color”>
New Form Features <input type=“date“> <input type=“time“>
New Form Features <input type="tel“> <input type="email“ placeholder=“Your Email Address”> <input type="url"> input[type=text]:focus:valid, input[type=email]:focus:valid, input[type=number]:focus:in-range { outline: 2px #0f0 solid; } input[type=text]:focus:invalid, input[type=email]:focus:invalid, input[type=number]:focus:out-of-range { outline: 2px #f00 solid; }
When Can You Start Using HTML5? Completion Date: 	July 2014
When Can You Start Using HTML5? Completion Date: 	July 2014 Last Call: 			May 22, 2011
When Can You Start Using HTML5? Whenever your target browsers support the bits you want to use.
Internet Explorer Supporting CSS3 & HTML5 Tim
How to make it all work Progressive (or regressive) enhancement JavaScript to “teach” the bad browsers <script>document.createElement("figure");</script> Test it out: http://playground.html5rocks.com Modernizr and a script loader (YepNope)
Modernizr and YepNope <html class=“no-js”>   <script src=“modernizr.js”/> http://blogs.sitepoint.com/2011/03/08/regressive-enhancement-with-modernizr-and-yepnope
Modernizr and YepNope <html class="  js flexbox canvas canvastext webgl no-touch geolocation postmessage  no-websqldatabase indexeddb hashchange draganddrop rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow  textshadow opacity no-cssanimations csscolumns cssgradients  no-cssreflections csstransforms no-csstransforms3d csstransitions  fontface video audio localstorage no-sessionstorage webworkers  applicationcache svg inlinesvg smil svgclippaths”>   http://blogs.sitepoint.com/2011/03/08/regressive-enhancement-with-modernizr-and-yepnope
Modernizr and YepNope <html class="  js flexbox canvas canvastext webgl no-touch geolocation postmessage  no-websqldatabase indexeddb hashchange draganddrop rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow  textshadow opacity no-cssanimations csscolumns cssgradients  no-cssreflections csstransforms no-csstransforms3d csstransitions  fontface video audio localstorage no-sessionstorage webworkers  applicationcache svg inlinesvg smil svgclippaths”>   http://blogs.sitepoint.com/2011/03/08/regressive-enhancement-with-modernizr-and-yepnope
Modernizr and YepNope <html class="  js flexbox canvas canvastext webgl no-touch geolocation postmessage  no-websqldatabase indexeddb hashchange draganddrop rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow  textshadow opacity no-cssanimations csscolumns cssgradients  no-cssreflections csstransforms no-csstransforms3d csstransitions  fontface video audio localstorage no-sessionstorage webworkers  applicationcache svg inlinesvg smil svgclippaths”>   http://blogs.sitepoint.com/2011/03/08/regressive-enhancement-with-modernizr-and-yepnope
Modernizr and YepNope .borderradius .box {   	-moz-border-radius: 5px;   	-webkit-border-radius: 5px;   	border-radius: 5px;   }   .no-borderradius .box { 	border-radius: 5px;  	behavior: url(PIE.htc); }   
Modernizr and YepNope if(!Modernizr.input.placeholder) 	{   	 // custom placeholder code   }  
Modernizr and YepNope yepnope({  	test : Modernizr.geolocation,  	yep  : 'normal.js', 	nope : ['polyfill.js', 'wrapper.js']   }); 
Modernizr and YepNope yepnope({     test: Modernizr.inputtypes.email &&  Modernizr.input.required &&  Modernizr.input.placeholder &&  Modernizr.input.pattern,     nope: 'h5f.min.js'  });  https://github.com/ryanseddon/H5F/blob/master/readme.md
Modernizr and YepNope
Modernizr and YepNope http://modernizr.github.com/Modernizr/2.0-beta/ Bundled together Modernizr: 3.7kb gzipped YepNope: 1.6kb
Resources	 http://html5doctor.com http://html5reset.org http://playground.html5rocks.com http://modernizr.github.com/Modernizr/2.0-beta http://yepnopejs.com Articles	 ,[object Object]
http://dev.opera.com/articles/view/custom-html5-video-player-with-css3-and-jquery

Mais conteúdo relacionado

Último

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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
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
 
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
 
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...DianaGray10
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 

Último (20)

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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
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
 
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
 
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...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 

Destaque

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 2024Neil Kimberley
 
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)contently
 
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 2024Albert Qian
 
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 InsightsKurio // The Social Media Age(ncy)
 
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 2024Search Engine Journal
 
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 summarySpeakerHub
 
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 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 Tessa Mero
 
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 IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
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 managementMindGenius
 
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...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Destaque (20)

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...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Practical HTML5/CSS3 for Nonprofits

  • 1. Practical HTML5/CSS3 for Nonprofits (or "How to Party Like it's 2011 When it's Really Still 1999") #11NTChtml5 Tim Arnold, Beaconfire
  • 2. Session Evaluation Each entry via text or web is a chance to win great NTEN prizes throughout the day! TEXT Text 11NTChtml5 to 69866. ONLINE Use 11NTChtml5 at http://nten.org/ntc/eval Session Evaluations Powered By:
  • 4. HTML + CSS + JavaScript Things get fancy.
  • 6. Other tired oldTOTALLY AWESOME catchphrases: AJAX Web 2.0 SEO B2B DHTML *
  • 7. *HTML5 no longer actually exists. Damn, that was fast. “…the term is now basically being used to mean anything Web-standards-related, so it's time to move on!” - Ian Hickson, Jan 19, 2011, WHATWG blog
  • 8. “…because people seem to like easy-to-pronounce acronyms and cute logos, I proposed NEWT as a tongue-in-cheek way to highlight the jargon abuse I see happening.” - Bruce Lawson, Opera
  • 9. “…because people seem to like easy-to-pronounce acronyms and cute logos, I proposed NEWT as a tongue-in-cheek way to highlight the jargon abuse I see happening.” - Bruce Lawson, Opera
  • 10. HTML Tags <h1></h1> <h2></h2> <p></p> <a></a> <strong></strong> <em></em> <ul> <li></li> <li></li> </ul>
  • 11. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Most Sites Today</title> <script type="text/javascript" src=“scripts.js“></script> <link type="text/css“ href=“styles.css” media=“all" rel="stylesheet“/> </head> <body> <div id=“container”> <div id=“header”> <ul id=“nav”> <li>home</li> <li>about us</li> </ul> </div> <div id=“content”> <div class=“post”> <h1>Very Intersting Title</h1> <p>Stuff</p> </div> <div class=“post”> <h1>Very Intersting Title</h1> <p>Stuff</p> </div> </div> <div id=“footer”> Copyright My Organization </div> </div> </body> </html>
  • 12. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Most Sites Today</title> <script type="text/javascript" src=“scripts.js“></script> <link type="text/css“ href=“styles.css” media=“all" rel="stylesheet“/> </head> <body> <div id=“container”> <div id=“header”> <ul id=“nav”> <li>home</li> <li>about us</li> </ul> </div> <div id=“content”> <div class=“post”> <h1>Very Intersting Title</h1> <p>Stuff</p> </div> <div class=“post”> <h1>Very Intersting Title</h1> <p>Stuff</p> </div> </div> <div id=“footer”> Copyright My Organization </div> </div> </body> </html>
  • 13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Most Sites Today</title> <script type="text/javascript" src=“scripts.js“></script> <link type="text/css“ href=“styles.css” media=“all" rel="stylesheet“/> </head> <body> <section> <header> <nav><ul> <li>home</li> <li>about us</li> </nav> </ul> </header> <section> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> </section> <footer> Copyright My Organization </footer> </div> </body> </html>
  • 14. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Most Sites Today</title> <script type="text/javascript" src=“scripts.js“></script> <link type="text/css“ href=“styles.css” media=“all" rel="stylesheet“/> </head> <body> <section> <header> <nav> <ul> <li>home</li> <li>about us</li> </nav> </ul> </header> <section> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> </section> <footer> Copyright My Organization </footer> </section> </body> </html>
  • 15. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Most Sites Today</title> <script type="text/javascript"src=“scripts.js“></script> <link type="text/css“href=“styles.css” media=“all" rel="stylesheet“/> </head> <body> <section> <header> <nav> <ul> <li>home</li> <li>about us</li> </nav> </ul> </header> <section> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> </section> <footer> Copyright My Organization </footer> </section> </body> </html>
  • 16. <!DOCTYPE html> <html> <head> <title>Most Sites Today</title> <script src=“scripts.js“></script> <link href=“styles.css” media=“all" rel="stylesheet“/> </head> <body> <section> <header> <nav> <ul> <li>home</li> <li>about us</li> </nav> </ul> </header> <section> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> </section> <footer> Copyright My Organization </footer> </section> </body> </html>
  • 17. <!DOCTYPE html> <html> <head> <title>Most Sites Today</title> <script src=“scripts.js“></script> <link href=“styles.css” media=“all" rel="stylesheet“/> </head> <body> <section> <header> <nav> <ul> <li>home</li> <li>about us</li> </nav> </ul> </header> <section> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> <article> <h1>Very Intersting Title</h1> <p>Stuff</p> </article> </section> <footer> Copyright My Organization </footer> </section> </body> </html>
  • 18. Other “New” HTML5 Tags You’re Welcome <aside> <figure> <mark> <time> <meter> value min low high max optimum <progress> <canvas> <video> <audio> <b> <i>
  • 19. New Form Features <input type="number"> <input type="range"> <input type="search"> <input type="text" list="mydata”> <datalistid="mydata"> <option label="Mr" value="Mister"> <option label="Mrs" value="Mistress"> <option label="Ms" value="Miss"> </datalist>
  • 20. New Form Features <input type=“color”>
  • 21. New Form Features <input type=“date“> <input type=“time“>
  • 22. New Form Features <input type="tel“> <input type="email“ placeholder=“Your Email Address”> <input type="url"> input[type=text]:focus:valid, input[type=email]:focus:valid, input[type=number]:focus:in-range { outline: 2px #0f0 solid; } input[type=text]:focus:invalid, input[type=email]:focus:invalid, input[type=number]:focus:out-of-range { outline: 2px #f00 solid; }
  • 23. When Can You Start Using HTML5? Completion Date: July 2014
  • 24. When Can You Start Using HTML5? Completion Date: July 2014 Last Call: May 22, 2011
  • 25. When Can You Start Using HTML5? Whenever your target browsers support the bits you want to use.
  • 26. Internet Explorer Supporting CSS3 & HTML5 Tim
  • 27. How to make it all work Progressive (or regressive) enhancement JavaScript to “teach” the bad browsers <script>document.createElement("figure");</script> Test it out: http://playground.html5rocks.com Modernizr and a script loader (YepNope)
  • 28. Modernizr and YepNope <html class=“no-js”>   <script src=“modernizr.js”/> http://blogs.sitepoint.com/2011/03/08/regressive-enhancement-with-modernizr-and-yepnope
  • 29. Modernizr and YepNope <html class="  js flexbox canvas canvastext webgl no-touch geolocation postmessage  no-websqldatabase indexeddb hashchange draganddrop rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow  textshadow opacity no-cssanimations csscolumns cssgradients  no-cssreflections csstransforms no-csstransforms3d csstransitions  fontface video audio localstorage no-sessionstorage webworkers  applicationcache svg inlinesvg smil svgclippaths”>   http://blogs.sitepoint.com/2011/03/08/regressive-enhancement-with-modernizr-and-yepnope
  • 30. Modernizr and YepNope <html class="  js flexbox canvas canvastext webgl no-touch geolocation postmessage  no-websqldatabase indexeddb hashchange draganddrop rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow  textshadow opacity no-cssanimations csscolumns cssgradients  no-cssreflections csstransforms no-csstransforms3d csstransitions  fontface video audio localstorage no-sessionstorage webworkers  applicationcache svg inlinesvg smil svgclippaths”>   http://blogs.sitepoint.com/2011/03/08/regressive-enhancement-with-modernizr-and-yepnope
  • 31. Modernizr and YepNope <html class="  js flexbox canvas canvastext webgl no-touch geolocation postmessage  no-websqldatabase indexeddb hashchange draganddrop rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow  textshadow opacity no-cssanimations csscolumns cssgradients  no-cssreflections csstransforms no-csstransforms3d csstransitions  fontface video audio localstorage no-sessionstorage webworkers  applicationcache svg inlinesvg smil svgclippaths”>   http://blogs.sitepoint.com/2011/03/08/regressive-enhancement-with-modernizr-and-yepnope
  • 32. Modernizr and YepNope .borderradius .box {   -moz-border-radius: 5px;   -webkit-border-radius: 5px;   border-radius: 5px;   }   .no-borderradius .box { border-radius: 5px;  behavior: url(PIE.htc); }   
  • 33. Modernizr and YepNope if(!Modernizr.input.placeholder)  {    // custom placeholder code   }  
  • 34. Modernizr and YepNope yepnope({  test : Modernizr.geolocation,  yep  : 'normal.js', nope : ['polyfill.js', 'wrapper.js']   }); 
  • 35. Modernizr and YepNope yepnope({     test: Modernizr.inputtypes.email &&  Modernizr.input.required &&  Modernizr.input.placeholder &&  Modernizr.input.pattern,     nope: 'h5f.min.js'  });  https://github.com/ryanseddon/H5F/blob/master/readme.md
  • 37. Modernizr and YepNope http://modernizr.github.com/Modernizr/2.0-beta/ Bundled together Modernizr: 3.7kb gzipped YepNope: 1.6kb
  • 38.
  • 41. Session Evaluation Each entry via text or web is a chance to win great NTEN prizes throughout the day! TEXT Text 11NTChtml5 to 69866. ONLINE Use 11NTChtml5 at http://nten.org/ntc/eval Session Evaluations Powered By:

Notas do Editor

  1. Web Hypertext Application Technology Working Group
  2. If we need an over-all term to encompass DAP, CSS 3, HTML5, Geolocation, SVG, WebGL, then let’s call it the Open Web Stack
  3. If we need an over-all term to encompass DAP, CSS 3, HTML5, Geolocation, SVG, WebGL, then let’s call it the Open Web Stack
  4. Matt Cutts of Google says it’s OK
  5. Mark: marked but not emphasizedMeter: numeric value in a specified range
  6. Javascript is for presentational purposes only
  7. CSS3 Pie http://css3pie.com/