SlideShare a Scribd company logo
1 of 33
Download to read offline
Introduction to
HTML 5 & CSS 3
                   Jindal Gohil
                   TechnoTUX
A g e n d a

•   Introduction to HTML5 & CSS3.
•   New Elements .
•   New Features.
•   Browser Supports.
•   Tutorials.
•   Live demos.
A more powerful web




           >4
HTML5
• HTML5 is the next generation of HTML.

• The previous version of HTML came in 1999.

•    HTML5 is a cooperation between the World Wide
    Web Consortium (W3C) and the Web Hypertext
    Application Technology Working Group
    (WHATWG).

• WHATWG was working with web forms and
  applications, and W3C was working with XHTML
  2.0. In 2006, they decided to cooperate and
  create a new version of HTML.
New Features
Canvas Element
• The HTML5 canvas element uses
  JavaScript to draw graphics on a web
  page.
• A canvas is a rectangular area, and you
  control every pixel of it.

<canvas id="my Canvas" width="200"
 height="100"></canvas>
• The canvas element.
Audio & video
• Today, most audio & videos are played
  through a plugin (like flash). However, not
  all browsers have the same plugins.
• HTML5 specifies a standard way to include
  these, with the audio & video elements.

• <audio src="song.ogg"
  controls="controls">
  </audio>
• <video src="movie.ogg"
  controls="controls">
  </video>
Attributes : video
Browser supports : Video




•Ogg = Ogg files with Theora video codec and Vorbis audio codec
•MPEG4 = MPEG 4 files with H.264 video codec and AAC audio codec
•WebM = WebM files with VP8 video codec and Vorbis audio codec
Browser supports : Audio
New Input Types

• email
• url
• number
• range
• Date pickers (date, month, week, time,
  datetime, datetime-local)
• search
• color
elements
• <input type="email" name="user_email" />

• <input type="url" name="user_url" />

• <input type="number" name="points" min="1"
  max="10" />

• <input type="range" name="points" min="1"
  max="10" />

• <input type="date" name="user_date" />

• <input type="color" name="user_color" />
Browser supports
New Form Elements &
      Attributes

• HTML5 has several new elements
  and attributes for forms.
• Datalist
       The datalist element specifies a list of
 options for an input field.
• Keygen
        The purpose of the keygen element is to
 provide a secure way to authenticate users.
• Output
New Form Attributes
• This chapter covers some of the new
  attributes for <form> and <input>.
• New form attributes:
• autocomplete
• novalidate
• New input attributes:
• autocomplete
• autofocus
• Form
                         cont…
• form overrides (formaction, formenctype,
  formmethod, formnovalidate, formtarget)
• height and width
• list
• min, max and step
• multiple
• pattern (regexp)
• placeholder
• required
 Web Storage
• HTML5 offers two new objects for storing data
  on the client:

• localStorage - stores data with no time limit
• sessionStorage - stores data for one session

• Earlier, this was done with cookies. Cookies
  are not suitable for large amounts of data,
  because they are passed on by EVERY
  request to the server, making it very slow and
  in-effective.

• HTML5 uses JavaScript to store and access
  the data.
Cont..


• <script type="text/javascript">
  localStorage.lastname="Smith";
  document.write(localStorage.lastname);
  </script>

• <script type="text/javascript">
  sessionStorage.lastname="Smith";
  document.write(sessionStorage.lastname);
  </script>
Event Attributes
•   Window Event Attributes
•   Form Events
•   Keyboard Events
•   Mouse Events
•   Media Events
CSS3
• Its stands for Cascading Style Sheet.
• CSS3 is completely backwards compatible, so you
  will not have to change existing designs.
  Browsers will always support CSS2.
• CSS3 is split up into "modules". The old
  specification has been split into smaller pieces,
  and new ones are also added.

•   Animations
•   Backgrounds and Borders
•   Text Effects
•   2D/3D Transformations
•   Multiple Column Layout
•   others
How to use css in html.
• External style sheet
• Internal style sheet
• Inline style
New Features : CSS3 Animations
CSS3 User Interface
• In CSS3, some of the new user
  interface features are resizing
  elements, box sizing, and outlining.
• user interface properties:
   resize
   box-sizing
   outline-offset
Html5 n css3
Html5 n css3

More Related Content

What's hot

Rich Internet Applications and Flex - 3
Rich Internet Applications and Flex - 3Rich Internet Applications and Flex - 3
Rich Internet Applications and Flex - 3Vijay Kalangi
 
Web designing course content
Web designing course contentWeb designing course content
Web designing course contentTrainme Softtech
 
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...INM_
 
Quick start guide to java script frameworks for sharepoint apps spsbe-2015
Quick start guide to java script frameworks for sharepoint apps spsbe-2015Quick start guide to java script frameworks for sharepoint apps spsbe-2015
Quick start guide to java script frameworks for sharepoint apps spsbe-2015Sonja Madsen
 
Alex Thissen "Server-less compute with .NET based Azure Functions"
Alex Thissen "Server-less compute with .NET based Azure Functions"Alex Thissen "Server-less compute with .NET based Azure Functions"
Alex Thissen "Server-less compute with .NET based Azure Functions"Fwdays
 
Learn AJAX at ASIT
Learn AJAX at ASITLearn AJAX at ASIT
Learn AJAX at ASITASIT
 
Progressive Web Apps Nedir? JavaScript Service Workers Nedir?
Progressive Web Apps Nedir? JavaScript Service Workers Nedir?Progressive Web Apps Nedir? JavaScript Service Workers Nedir?
Progressive Web Apps Nedir? JavaScript Service Workers Nedir?Mehmet Seven
 
HTML5 - Let’s make the WEB more powerful
HTML5 - Let’s make the WEB more powerfulHTML5 - Let’s make the WEB more powerful
HTML5 - Let’s make the WEB more powerfulNaga Harish M
 
Next Generation UI
Next Generation UINext Generation UI
Next Generation UIvmalinouski
 
What cloud changes the developer
What cloud changes the developerWhat cloud changes the developer
What cloud changes the developerSimon Su
 
Cert05 70-487 - developing microsoft azure and web services
Cert05   70-487 - developing microsoft azure and web servicesCert05   70-487 - developing microsoft azure and web services
Cert05 70-487 - developing microsoft azure and web servicesDotNetCampus
 
Build Web Applications
Build Web ApplicationsBuild Web Applications
Build Web ApplicationsTom Crombez
 
Working with Data in Service Workers
Working with Data in Service WorkersWorking with Data in Service Workers
Working with Data in Service WorkersGil Fink
 
Web Storage & Web Workers
Web Storage & Web WorkersWeb Storage & Web Workers
Web Storage & Web WorkersInbal Geffen
 

What's hot (20)

Rich Internet Applications and Flex - 3
Rich Internet Applications and Flex - 3Rich Internet Applications and Flex - 3
Rich Internet Applications and Flex - 3
 
HTML5: Introduction
HTML5: IntroductionHTML5: Introduction
HTML5: Introduction
 
Asp.Net MVC
Asp.Net MVCAsp.Net MVC
Asp.Net MVC
 
Web designing course content
Web designing course contentWeb designing course content
Web designing course content
 
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
 
Quick start guide to java script frameworks for sharepoint apps spsbe-2015
Quick start guide to java script frameworks for sharepoint apps spsbe-2015Quick start guide to java script frameworks for sharepoint apps spsbe-2015
Quick start guide to java script frameworks for sharepoint apps spsbe-2015
 
Alex Thissen "Server-less compute with .NET based Azure Functions"
Alex Thissen "Server-less compute with .NET based Azure Functions"Alex Thissen "Server-less compute with .NET based Azure Functions"
Alex Thissen "Server-less compute with .NET based Azure Functions"
 
Learn AJAX at ASIT
Learn AJAX at ASITLearn AJAX at ASIT
Learn AJAX at ASIT
 
Announcing StencilJS
Announcing StencilJSAnnouncing StencilJS
Announcing StencilJS
 
Progressive Web Apps Nedir? JavaScript Service Workers Nedir?
Progressive Web Apps Nedir? JavaScript Service Workers Nedir?Progressive Web Apps Nedir? JavaScript Service Workers Nedir?
Progressive Web Apps Nedir? JavaScript Service Workers Nedir?
 
Javascript libraries
Javascript librariesJavascript libraries
Javascript libraries
 
HTML5 - Let’s make the WEB more powerful
HTML5 - Let’s make the WEB more powerfulHTML5 - Let’s make the WEB more powerful
HTML5 - Let’s make the WEB more powerful
 
Next Generation UI
Next Generation UINext Generation UI
Next Generation UI
 
What cloud changes the developer
What cloud changes the developerWhat cloud changes the developer
What cloud changes the developer
 
Demystifying HTML5
Demystifying HTML5Demystifying HTML5
Demystifying HTML5
 
Cert05 70-487 - developing microsoft azure and web services
Cert05   70-487 - developing microsoft azure and web servicesCert05   70-487 - developing microsoft azure and web services
Cert05 70-487 - developing microsoft azure and web services
 
Build Web Applications
Build Web ApplicationsBuild Web Applications
Build Web Applications
 
Web Designing
Web DesigningWeb Designing
Web Designing
 
Working with Data in Service Workers
Working with Data in Service WorkersWorking with Data in Service Workers
Working with Data in Service Workers
 
Web Storage & Web Workers
Web Storage & Web WorkersWeb Storage & Web Workers
Web Storage & Web Workers
 

Viewers also liked (6)

Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to Android
 
CSS3 Animations
CSS3 AnimationsCSS3 Animations
CSS3 Animations
 
Lesson 17
Lesson 17Lesson 17
Lesson 17
 
Philly.NET Code Camp 2014.1
Philly.NET Code Camp 2014.1Philly.NET Code Camp 2014.1
Philly.NET Code Camp 2014.1
 
CSS and CSS3
CSS and CSS3CSS and CSS3
CSS and CSS3
 
HTML5 Media Elements
HTML5 Media ElementsHTML5 Media Elements
HTML5 Media Elements
 

Similar to Html5 n css3

Similar to Html5 n css3 (20)

Html5 shubelal
Html5 shubelalHtml5 shubelal
Html5 shubelal
 
Html5 Future of WEB
Html5 Future of WEBHtml5 Future of WEB
Html5 Future of WEB
 
Html,CSS & UI/UX design
Html,CSS & UI/UX designHtml,CSS & UI/UX design
Html,CSS & UI/UX design
 
Rohit&kunjan
Rohit&kunjanRohit&kunjan
Rohit&kunjan
 
Html 5
Html 5Html 5
Html 5
 
HTML5 Refresher
HTML5 RefresherHTML5 Refresher
HTML5 Refresher
 
HTML5
HTML5 HTML5
HTML5
 
HTML5 History & Features
HTML5 History & FeaturesHTML5 History & Features
HTML5 History & Features
 
Intro JavaScript
Intro JavaScriptIntro JavaScript
Intro JavaScript
 
Html5
Html5Html5
Html5
 
HTML 5
HTML 5HTML 5
HTML 5
 
Prueba ppt
Prueba pptPrueba ppt
Prueba ppt
 
Html5v1
Html5v1Html5v1
Html5v1
 
Web Tools for GemStone/S
Web Tools for GemStone/SWeb Tools for GemStone/S
Web Tools for GemStone/S
 
HTML5
HTML5HTML5
HTML5
 
Introduction to HTML language Web design.pptx
Introduction to HTML language Web design.pptxIntroduction to HTML language Web design.pptx
Introduction to HTML language Web design.pptx
 
Html5
Html5Html5
Html5
 
A brief introduction on HTML5 and responsive layouts
A brief introduction on HTML5 and responsive layoutsA brief introduction on HTML5 and responsive layouts
A brief introduction on HTML5 and responsive layouts
 
WEB DEVELOPMENT.pptx
WEB DEVELOPMENT.pptxWEB DEVELOPMENT.pptx
WEB DEVELOPMENT.pptx
 
web development
web developmentweb development
web development
 

Recently uploaded

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Recently uploaded (20)

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

Html5 n css3

  • 1. Introduction to HTML 5 & CSS 3 Jindal Gohil TechnoTUX
  • 2. A g e n d a • Introduction to HTML5 & CSS3. • New Elements . • New Features. • Browser Supports. • Tutorials. • Live demos.
  • 4. HTML5 • HTML5 is the next generation of HTML. • The previous version of HTML came in 1999. • HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG). • WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML.
  • 5.
  • 7. Canvas Element • The HTML5 canvas element uses JavaScript to draw graphics on a web page. • A canvas is a rectangular area, and you control every pixel of it. <canvas id="my Canvas" width="200" height="100"></canvas>
  • 8. • The canvas element.
  • 9.
  • 10. Audio & video • Today, most audio & videos are played through a plugin (like flash). However, not all browsers have the same plugins. • HTML5 specifies a standard way to include these, with the audio & video elements. • <audio src="song.ogg" controls="controls"> </audio> • <video src="movie.ogg" controls="controls"> </video>
  • 12. Browser supports : Video •Ogg = Ogg files with Theora video codec and Vorbis audio codec •MPEG4 = MPEG 4 files with H.264 video codec and AAC audio codec •WebM = WebM files with VP8 video codec and Vorbis audio codec
  • 14.
  • 15. New Input Types • email • url • number • range • Date pickers (date, month, week, time, datetime, datetime-local) • search • color
  • 16. elements • <input type="email" name="user_email" /> • <input type="url" name="user_url" /> • <input type="number" name="points" min="1" max="10" /> • <input type="range" name="points" min="1" max="10" /> • <input type="date" name="user_date" /> • <input type="color" name="user_color" />
  • 18. New Form Elements & Attributes • HTML5 has several new elements and attributes for forms. • Datalist The datalist element specifies a list of options for an input field. • Keygen The purpose of the keygen element is to provide a secure way to authenticate users. • Output
  • 19. New Form Attributes • This chapter covers some of the new attributes for <form> and <input>. • New form attributes: • autocomplete • novalidate • New input attributes: • autocomplete • autofocus • Form cont…
  • 20. • form overrides (formaction, formenctype, formmethod, formnovalidate, formtarget) • height and width • list • min, max and step • multiple • pattern (regexp) • placeholder • required
  • 22. • HTML5 offers two new objects for storing data on the client: • localStorage - stores data with no time limit • sessionStorage - stores data for one session • Earlier, this was done with cookies. Cookies are not suitable for large amounts of data, because they are passed on by EVERY request to the server, making it very slow and in-effective. • HTML5 uses JavaScript to store and access the data.
  • 23. Cont.. • <script type="text/javascript"> localStorage.lastname="Smith"; document.write(localStorage.lastname); </script> • <script type="text/javascript"> sessionStorage.lastname="Smith"; document.write(sessionStorage.lastname); </script>
  • 24. Event Attributes • Window Event Attributes • Form Events • Keyboard Events • Mouse Events • Media Events
  • 25.
  • 26.
  • 27.
  • 28. CSS3 • Its stands for Cascading Style Sheet. • CSS3 is completely backwards compatible, so you will not have to change existing designs. Browsers will always support CSS2. • CSS3 is split up into "modules". The old specification has been split into smaller pieces, and new ones are also added. • Animations • Backgrounds and Borders • Text Effects • 2D/3D Transformations • Multiple Column Layout • others
  • 29. How to use css in html. • External style sheet • Internal style sheet • Inline style
  • 30. New Features : CSS3 Animations
  • 31. CSS3 User Interface • In CSS3, some of the new user interface features are resizing elements, box sizing, and outlining. • user interface properties:  resize  box-sizing  outline-offset