SlideShare uma empresa Scribd logo
1 de 39
Mandakini
Ayushi Infotech
In The Next

    30 Minutes
1.What's new in HTML5
2.HTML5 with Drupal7
3.Why HTML5 and CSS3
4.Difference between HTML 4.0x,
  XHTML, HTML5
5.HTML5 Form
BASIC ASSUMPTIONS
•Should know HTML & CSS markup
Basic
•Understating of Drupal & Theming
•Familiar with modern browsers e.g.
Firefox,Safari, Chrome & IE
HTML5 with Drupal Ref.
HTML5 TOOLS:http://drupal.org/project/html5_tools

HTML5 Base Theme: http://drupal.org/project/boron
http://drupal.org/project/adaptivetheme

Elements: http://drupal.org/project/elements
Geolocation:
http://drupal.org/project/html5_user_geolocation
IRC #drupal-html5(http://groups.drupal.org/html5)
w3schools.com
1.1 What's new in HTML5
•   New Elements
•   New Attributes
•   Full CSS3 Support
•   Video and Audio
•   2D/3D Graphics
•   Local Storage
•   Local SQL Database
•   Web Applications
2.1 Drupal 7 Theme with HTML5

html.tpl.php
page.tpl.php
node.tpl.php
template.php
style.css
Header.inc
Footer.inc
2.2 html.tpl.php(After – HTML5)
<!DOCTYPE html>

<html lang="en">

<head>
<meta charset="utf-8" />

 <meta http-equiv="x-ua-compatible" content="ie=edge,
chrome=1" />
2.3 Template.php(Before – XHTML)
<link rel="stylesheet" href="" type="text/css" media="all" />

<style type="text/css" media="all">
/* Code here. */
 </style>

<script type="text/javascript">
<!--//--><![CDATA[//><!-- /* Code here. */ //--><!]]>
</script>
2.4 Template.php(After – HTML5)
<link rel="stylesheet" href="..." />

<style> /* Code here. */ </style>

<script> /* Code here. */ </script>
2.5 node.tpl.php(After – HTML5)
<article id="node-title" class="node clearfix" >
<header>
<h1 class="title"><a href="xxx">My First Node</a></h2
</header>
<footer>Published on <time datetime=2011-01-22 pubdate>Jan
22</time>
</footer>
<p>Blah blah blah</p>
<footer>
<div class="taxonomy"><ul><li><a>HTML5</a></li></ul></div>
</footer>
</article> <!-- /node-->
3.1.Responsive web design:

Fit in all mobile device
Compatible for all
browser e.g. Firefox,IE,
safari and chrome
3.2.SEMANTICS

New elements for headers,
footers, menus, sections
and articles.
                 (source:http://www.w3.org/html/logo/)
3.3 HTML5 Forms

•New form elements, new
attributes, new input types,
automatic validation.
3.4. HTML5 Applications
With HTML5, web application development is
easier than ever.
•   Local data storage
•   Local file access
•   Local SQL database
•   Application cache
•   Javascript workers
•   XHTMLHttpRequest 2.               (source:w3c.org)
3.5. Multimedia
With HTML5, playing video
and audio is easier than ever.

  HTML5 <video>
  HTML5 <audio>           (source:w3c.org)
3.6. Graphics & Effects
With HTML5, drawing graphics is easier
than ever:

  Using the <canvas> element
  Using inline SVG
  Using CSS3 2D/3D
                                 (source:w3c.org)
3.7. Performance &
Integration
Make your Web Apps and dynamic web
content faster with a variety of
techniques and technologies such as
Web Workers and XMLHttpRequest 2.
No user should ever wait on your watch.
                                  (source:w3c.org)
3.8. HTML5 Uses CSS3
•   New Selectors
•   New Properties
•   Animations
•   2D/3D Transformations
•   Rounded Corners
•   Shadow Effects
•   Downloadable Fonts      (source:w3c.org)
4.1 NEW HTML5 ELEMENTS
<section> <figcaption> <bdi>
<article> <video> <wbr>
<aside> <track> <canvas>
<header> <embed> <command>
<hgroup> <mark> <details>
<footer> <progress> <datalist>
<nav> <meter> <keygen>
<figure> <time> <output>
<section> <ruby> <svg>
4.2 IE & HTML5
<!--[if lt IE 9]>

<script
src="http://html5shim.googlecode.com/svn/trunk/ht
ml5.js"></script>

<![endif]-->

                                           (source:w3c.org)
4.3 Old HTML Page Structure
4.4 New HTML5 Page Structure
4.5 OLD HTML DOCTYPE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css" media="all"> </style>
<script type="text/javascript">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
4.6 New HTML5 DOCTYPE CODE
 SAMPLE

<!DOCTYPE html>
<meta charset="utf-8" />
<script src="file.js"></script>
<link rel="stylesheet" href="file.css" />

                                     (source:w3c.org)
4.7 HTML5 HEADER CODE
<!-- begin: page header →
<header>
<hgroup>
<h1>Header</h1>
<h2>Sub-Header</h2>
</hgroup>
<p>Some more header content</p>
</header>
<!-- end: page header -->
4.8 HTML5 NAV CODE
<header>
<!-- begin: primary nav -->
<nav>
<a href=”home.html”>Home</a>
<a href=”about.html”>About</a>
</nav>
<!-- end: primary nav →
</header>
4.9 NEW HTML5 ELEMENT
<!-- begin: science section →
<section id=”science”>
<header>
<hgroup> <h2>Science</h2> </hgroup>
</header>
<p>Space Matter And Time (SMAT)</p>
</section>
<!-- end: science section -->
4.10 NEW HTML5 ELEMENT
4.11 NEW HTML5 ELEMENT
<!-- begin: science section →
<section id=”science”>
<article>
<header> <h2>Science</h2> </header>
<p>Space Matter And Time (SMAT)</p> <footer>
<p>Creative Commons License</p> </footer>
</article>
</section>
<!-- end: science section -->
4.12 NEW HTML5 ELEMENT
 <!-- begin: video →
<video id="vid1"
poster="http://v.com/video.jpg>
<source type="video/webm"
src="http://v.com/vid.webm" />
<sourcesrc="http://v.com/vid.m4v"/>
<source src="http://v.com/vid.ogv" />
</video>
<!-- end: video -->
5.1 New Input Type
 color      date
 datetime   datetime-local
 email
 month      number
 range      search
 tel        time
 url        week
4.2 HTML5 New Form Attributes
New attributes for <form>:
Autocomplete         Novalidate

New attributes for <input>:
Autocomplete         autofocus
Form                 formaction
Formenctype          formmethod
Formnovalidate       formtarget
height and width     list
min and max          multiple
pattern (regexp)     placeholder
Required             step
5.3 HTML5 Other APIs

Geolocation
Communication APIs
Websockets
Web Workers
Web Storage
Offine Applications
5.4 New Form Element

<datalist>
<keygen>
<output>
5.5 Form Element <datalist>
Pre-defined values
<datalist id="browsers">
 <option value="Internet Explorer">
 <option value="Firefox">
 <option value="Chrome">
 <option value="Opera">
 <option value="Safari">
</datalist>
5.6 Form Element <Keygen>
A form with a keygen field
<form action="demo_keygen.asp"
method="get">
Username: <input type="text"
name="usr_name">
Encryption:
<keygen name="security">
<input type="submit">
</form>
5.7 Form Element <output>
Perform a calculation and show the result
in an <output> element
<form oninput= "x.value=parseInt(a.value)
+parseInt(b.value)">0
<input type="range" name="a" value="50">100
+
<input type="number" name="b" value="50"> =
<output name="x" for="a b"></output>
</form>
5.8 CSS3 PROPERTIES
not                     filter:
:lang                   opacity:
:first-child        media
:first-of-type          box-shadow
:nth-child              text-shadow
:nth-of-type            background-size
:nth-last-of-type   background (gradients)
:last-child         transform :last-of-type
transform-orgin hsl & hsla transition
Thank you

CONTACT ME @
MANDAKINI@AYUSHIINFOTECH.COM
GTALK:PKUMAR125

Mais conteúdo relacionado

Mais procurados

Site Performance - From Pinto to Ferrari
Site Performance - From Pinto to FerrariSite Performance - From Pinto to Ferrari
Site Performance - From Pinto to Ferrari
Joseph Scott
 
Apache CouchDB talk at Ontario GNU Linux Fest
Apache CouchDB talk at Ontario GNU Linux FestApache CouchDB talk at Ontario GNU Linux Fest
Apache CouchDB talk at Ontario GNU Linux Fest
Myles Braithwaite
 

Mais procurados (20)

LogStash - Yes, logging can be awesome
LogStash - Yes, logging can be awesomeLogStash - Yes, logging can be awesome
LogStash - Yes, logging can be awesome
 
04 web optimization
04 web optimization04 web optimization
04 web optimization
 
Integrated Cache on Netscaler
Integrated Cache on NetscalerIntegrated Cache on Netscaler
Integrated Cache on Netscaler
 
How containers helped a SaaS startup be developed and go live
How containers helped a SaaS startup be developed and go liveHow containers helped a SaaS startup be developed and go live
How containers helped a SaaS startup be developed and go live
 
Resource registries plone conf 2014
Resource registries plone conf 2014Resource registries plone conf 2014
Resource registries plone conf 2014
 
10 Key MongoDB Performance Indicators
10 Key MongoDB Performance Indicators  10 Key MongoDB Performance Indicators
10 Key MongoDB Performance Indicators
 
Hadoop meet Rex(How to construct hadoop cluster with rex)
Hadoop meet Rex(How to construct hadoop cluster with rex)Hadoop meet Rex(How to construct hadoop cluster with rex)
Hadoop meet Rex(How to construct hadoop cluster with rex)
 
CORS review
CORS reviewCORS review
CORS review
 
Site Performance - From Pinto to Ferrari
Site Performance - From Pinto to FerrariSite Performance - From Pinto to Ferrari
Site Performance - From Pinto to Ferrari
 
Automating complex infrastructures with Puppet
Automating complex infrastructures with PuppetAutomating complex infrastructures with Puppet
Automating complex infrastructures with Puppet
 
Application Logging With Logstash
Application Logging With LogstashApplication Logging With Logstash
Application Logging With Logstash
 
When dynamic becomes static : the next step in web caching techniques
When dynamic becomes static : the next step in web caching techniquesWhen dynamic becomes static : the next step in web caching techniques
When dynamic becomes static : the next step in web caching techniques
 
Network Automation: Ansible 102
Network Automation: Ansible 102Network Automation: Ansible 102
Network Automation: Ansible 102
 
Scaling php applications with redis
Scaling php applications with redisScaling php applications with redis
Scaling php applications with redis
 
Nuvola: a tale of migration to AWS
Nuvola: a tale of migration to AWSNuvola: a tale of migration to AWS
Nuvola: a tale of migration to AWS
 
Apache CouchDB talk at Ontario GNU Linux Fest
Apache CouchDB talk at Ontario GNU Linux FestApache CouchDB talk at Ontario GNU Linux Fest
Apache CouchDB talk at Ontario GNU Linux Fest
 
Leverage HTTP to deliver cacheable websites - Codemotion Rome 2018
Leverage HTTP to deliver cacheable websites - Codemotion Rome 2018Leverage HTTP to deliver cacheable websites - Codemotion Rome 2018
Leverage HTTP to deliver cacheable websites - Codemotion Rome 2018
 
Leverage HTTP to deliver cacheable websites - Thijs Feryn - Codemotion Rome 2018
Leverage HTTP to deliver cacheable websites - Thijs Feryn - Codemotion Rome 2018Leverage HTTP to deliver cacheable websites - Thijs Feryn - Codemotion Rome 2018
Leverage HTTP to deliver cacheable websites - Thijs Feryn - Codemotion Rome 2018
 
Caching with Memcached and APC
Caching with Memcached and APCCaching with Memcached and APC
Caching with Memcached and APC
 
Open Source Logging and Monitoring Tools
Open Source Logging and Monitoring ToolsOpen Source Logging and Monitoring Tools
Open Source Logging and Monitoring Tools
 

Semelhante a Html5 drupal7 with mandakini kumari(1)

SW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalSW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+Drupal
Jen Simmons
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
madhavforu
 
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
Patrick Lauke
 

Semelhante a Html5 drupal7 with mandakini kumari(1) (20)

HTML5
HTML5HTML5
HTML5
 
HTML5 Refresher
HTML5 RefresherHTML5 Refresher
HTML5 Refresher
 
Attractive HTML5~開発者の視点から~
Attractive HTML5~開発者の視点から~Attractive HTML5~開発者の視点から~
Attractive HTML5~開発者の視点から~
 
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
Familiar HTML5 - 事例とサンプルコードから学ぶ 身近で普通に使わているHTML5
 
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考えるIt is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
 
HTML 5 - Overview
HTML 5 - OverviewHTML 5 - Overview
HTML 5 - Overview
 
Html 5
Html 5Html 5
Html 5
 
The Devil and HTML5
The Devil and HTML5The Devil and HTML5
The Devil and HTML5
 
Html5 Brown Bag
Html5 Brown BagHtml5 Brown Bag
Html5 Brown Bag
 
Html5 intro
Html5 introHtml5 intro
Html5 intro
 
Html5
Html5Html5
Html5
 
5 ways to embrace HTML5 today
5 ways to embrace HTML5 today5 ways to embrace HTML5 today
5 ways to embrace HTML5 today
 
SW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+DrupalSW Drupal Summit: HTML5+Drupal
SW Drupal Summit: HTML5+Drupal
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
[In Control 2010] HTML5
[In Control 2010] HTML5[In Control 2010] HTML5
[In Control 2010] HTML5
 
Google App Engine with Gaelyk
Google App Engine with GaelykGoogle App Engine with Gaelyk
Google App Engine with Gaelyk
 
HTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile appsHTML5 & CSS3 refresher for mobile apps
HTML5 & CSS3 refresher for mobile apps
 
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
HTML5 (and friends) - History, overview and current status - jsDay Verona 11....
 
C# Advanced L09-HTML5+ASP
C# Advanced L09-HTML5+ASPC# Advanced L09-HTML5+ASP
C# Advanced L09-HTML5+ASP
 
Fundamentals of HTML5
Fundamentals of HTML5Fundamentals of HTML5
Fundamentals of HTML5
 

Mais de Mandakini Kumari

Drupal7 an introduction by ayushiinfotech
Drupal7 an introduction by ayushiinfotechDrupal7 an introduction by ayushiinfotech
Drupal7 an introduction by ayushiinfotech
Mandakini Kumari
 

Mais de Mandakini Kumari (8)

Emerging Trends In Cloud Computing.pptx
Emerging Trends In Cloud Computing.pptxEmerging Trends In Cloud Computing.pptx
Emerging Trends In Cloud Computing.pptx
 
Building an Edge Computing Strategy - Distributed infrastructure.pptx
Building an Edge Computing Strategy - Distributed infrastructure.pptxBuilding an Edge Computing Strategy - Distributed infrastructure.pptx
Building an Edge Computing Strategy - Distributed infrastructure.pptx
 
Emerging Trends in Cloud Computing.pptx
Emerging Trends in Cloud Computing.pptxEmerging Trends in Cloud Computing.pptx
Emerging Trends in Cloud Computing.pptx
 
Women in IT & Inspirational Individual of the Year.pptx
Women in IT & Inspirational Individual of the Year.pptxWomen in IT & Inspirational Individual of the Year.pptx
Women in IT & Inspirational Individual of the Year.pptx
 
Web services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGigWeb services soap and rest by mandakini for TechGig
Web services soap and rest by mandakini for TechGig
 
Drupal7 an introduction by ayushiinfotech
Drupal7 an introduction by ayushiinfotechDrupal7 an introduction by ayushiinfotech
Drupal7 an introduction by ayushiinfotech
 
Introduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotechIntroduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotech
 
Drupal 7 theme by ayushi infotech
Drupal 7 theme by ayushi infotechDrupal 7 theme by ayushi infotech
Drupal 7 theme by ayushi infotech
 

Último

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Último (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

Html5 drupal7 with mandakini kumari(1)

  • 2. In The Next 30 Minutes 1.What's new in HTML5 2.HTML5 with Drupal7 3.Why HTML5 and CSS3 4.Difference between HTML 4.0x, XHTML, HTML5 5.HTML5 Form
  • 3. BASIC ASSUMPTIONS •Should know HTML & CSS markup Basic •Understating of Drupal & Theming •Familiar with modern browsers e.g. Firefox,Safari, Chrome & IE
  • 4. HTML5 with Drupal Ref. HTML5 TOOLS:http://drupal.org/project/html5_tools HTML5 Base Theme: http://drupal.org/project/boron http://drupal.org/project/adaptivetheme Elements: http://drupal.org/project/elements Geolocation: http://drupal.org/project/html5_user_geolocation IRC #drupal-html5(http://groups.drupal.org/html5) w3schools.com
  • 5. 1.1 What's new in HTML5 • New Elements • New Attributes • Full CSS3 Support • Video and Audio • 2D/3D Graphics • Local Storage • Local SQL Database • Web Applications
  • 6. 2.1 Drupal 7 Theme with HTML5 html.tpl.php page.tpl.php node.tpl.php template.php style.css Header.inc Footer.inc
  • 7. 2.2 html.tpl.php(After – HTML5) <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" />
  • 8. 2.3 Template.php(Before – XHTML) <link rel="stylesheet" href="" type="text/css" media="all" /> <style type="text/css" media="all"> /* Code here. */ </style> <script type="text/javascript"> <!--//--><![CDATA[//><!-- /* Code here. */ //--><!]]> </script>
  • 9. 2.4 Template.php(After – HTML5) <link rel="stylesheet" href="..." /> <style> /* Code here. */ </style> <script> /* Code here. */ </script>
  • 10. 2.5 node.tpl.php(After – HTML5) <article id="node-title" class="node clearfix" > <header> <h1 class="title"><a href="xxx">My First Node</a></h2 </header> <footer>Published on <time datetime=2011-01-22 pubdate>Jan 22</time> </footer> <p>Blah blah blah</p> <footer> <div class="taxonomy"><ul><li><a>HTML5</a></li></ul></div> </footer> </article> <!-- /node-->
  • 11. 3.1.Responsive web design: Fit in all mobile device Compatible for all browser e.g. Firefox,IE, safari and chrome
  • 12. 3.2.SEMANTICS New elements for headers, footers, menus, sections and articles. (source:http://www.w3.org/html/logo/)
  • 13. 3.3 HTML5 Forms •New form elements, new attributes, new input types, automatic validation.
  • 14. 3.4. HTML5 Applications With HTML5, web application development is easier than ever. • Local data storage • Local file access • Local SQL database • Application cache • Javascript workers • XHTMLHttpRequest 2. (source:w3c.org)
  • 15. 3.5. Multimedia With HTML5, playing video and audio is easier than ever. HTML5 <video> HTML5 <audio> (source:w3c.org)
  • 16. 3.6. Graphics & Effects With HTML5, drawing graphics is easier than ever: Using the <canvas> element Using inline SVG Using CSS3 2D/3D (source:w3c.org)
  • 17. 3.7. Performance & Integration Make your Web Apps and dynamic web content faster with a variety of techniques and technologies such as Web Workers and XMLHttpRequest 2. No user should ever wait on your watch. (source:w3c.org)
  • 18. 3.8. HTML5 Uses CSS3 • New Selectors • New Properties • Animations • 2D/3D Transformations • Rounded Corners • Shadow Effects • Downloadable Fonts (source:w3c.org)
  • 19. 4.1 NEW HTML5 ELEMENTS <section> <figcaption> <bdi> <article> <video> <wbr> <aside> <track> <canvas> <header> <embed> <command> <hgroup> <mark> <details> <footer> <progress> <datalist> <nav> <meter> <keygen> <figure> <time> <output> <section> <ruby> <svg>
  • 20. 4.2 IE & HTML5 <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/ht ml5.js"></script> <![endif]--> (source:w3c.org)
  • 21. 4.3 Old HTML Page Structure
  • 22. 4.4 New HTML5 Page Structure
  • 23. 4.5 OLD HTML DOCTYPE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <style type="text/css" media="all"> </style> <script type="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  • 24. 4.6 New HTML5 DOCTYPE CODE SAMPLE <!DOCTYPE html> <meta charset="utf-8" /> <script src="file.js"></script> <link rel="stylesheet" href="file.css" /> (source:w3c.org)
  • 25. 4.7 HTML5 HEADER CODE <!-- begin: page header → <header> <hgroup> <h1>Header</h1> <h2>Sub-Header</h2> </hgroup> <p>Some more header content</p> </header> <!-- end: page header -->
  • 26. 4.8 HTML5 NAV CODE <header> <!-- begin: primary nav --> <nav> <a href=”home.html”>Home</a> <a href=”about.html”>About</a> </nav> <!-- end: primary nav → </header>
  • 27. 4.9 NEW HTML5 ELEMENT <!-- begin: science section → <section id=”science”> <header> <hgroup> <h2>Science</h2> </hgroup> </header> <p>Space Matter And Time (SMAT)</p> </section> <!-- end: science section -->
  • 28. 4.10 NEW HTML5 ELEMENT
  • 29. 4.11 NEW HTML5 ELEMENT <!-- begin: science section → <section id=”science”> <article> <header> <h2>Science</h2> </header> <p>Space Matter And Time (SMAT)</p> <footer> <p>Creative Commons License</p> </footer> </article> </section> <!-- end: science section -->
  • 30. 4.12 NEW HTML5 ELEMENT <!-- begin: video → <video id="vid1" poster="http://v.com/video.jpg> <source type="video/webm" src="http://v.com/vid.webm" /> <sourcesrc="http://v.com/vid.m4v"/> <source src="http://v.com/vid.ogv" /> </video> <!-- end: video -->
  • 31. 5.1 New Input Type color date datetime datetime-local email month number range search tel time url week
  • 32. 4.2 HTML5 New Form Attributes New attributes for <form>: Autocomplete Novalidate New attributes for <input>: Autocomplete autofocus Form formaction Formenctype formmethod Formnovalidate formtarget height and width list min and max multiple pattern (regexp) placeholder Required step
  • 33. 5.3 HTML5 Other APIs Geolocation Communication APIs Websockets Web Workers Web Storage Offine Applications
  • 34. 5.4 New Form Element <datalist> <keygen> <output>
  • 35. 5.5 Form Element <datalist> Pre-defined values <datalist id="browsers"> <option value="Internet Explorer"> <option value="Firefox"> <option value="Chrome"> <option value="Opera"> <option value="Safari"> </datalist>
  • 36. 5.6 Form Element <Keygen> A form with a keygen field <form action="demo_keygen.asp" method="get"> Username: <input type="text" name="usr_name"> Encryption: <keygen name="security"> <input type="submit"> </form>
  • 37. 5.7 Form Element <output> Perform a calculation and show the result in an <output> element <form oninput= "x.value=parseInt(a.value) +parseInt(b.value)">0 <input type="range" name="a" value="50">100 + <input type="number" name="b" value="50"> = <output name="x" for="a b"></output> </form>
  • 38. 5.8 CSS3 PROPERTIES not filter: :lang opacity: :first-child media :first-of-type box-shadow :nth-child text-shadow :nth-of-type background-size :nth-last-of-type background (gradients) :last-child transform :last-of-type transform-orgin hsl & hsla transition
  • 39. Thank you CONTACT ME @ MANDAKINI@AYUSHIINFOTECH.COM GTALK:PKUMAR125