SlideShare a Scribd company logo
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.
Html5 n css3
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.
Html5 n css3
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
Html5 n css3
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
Html5 n css3
Html5 n css3
Html5 n css3
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

PDF
PPTX
Html5 css3 Online Training
PPTX
Knowit study group örnsköldsvik - introduction to microsoft azure document db
PPTX
MVVM Magic in SharePoint 2010 using Knockoutjs!
PPTX
HTML5 for ASP.NET Developers
PPTX
Html5 phillycc
PPTX
Best asp.net hosting provider | Top hosting service provider 2019
Html5 css3 Online Training
Knowit study group örnsköldsvik - introduction to microsoft azure document db
MVVM Magic in SharePoint 2010 using Knockoutjs!
HTML5 for ASP.NET Developers
Html5 phillycc
Best asp.net hosting provider | Top hosting service provider 2019

What's hot (20)

KEY
Rich Internet Applications and Flex - 3
PDF
HTML5: Introduction
PPTX
Asp.Net MVC
DOCX
Web designing course content
PDF
AEM/CQ Montreal User Group Meeting - March 25, 2015 - Takeaways from Adobe Su...
PPTX
Quick start guide to java script frameworks for sharepoint apps spsbe-2015
PPTX
Alex Thissen "Server-less compute with .NET based Azure Functions"
PPTX
Learn AJAX at ASIT
PPTX
Announcing StencilJS
PPTX
Progressive Web Apps Nedir? JavaScript Service Workers Nedir?
PDF
Javascript libraries
PPTX
HTML5 - Let’s make the WEB more powerful
KEY
Next Generation UI
PDF
What cloud changes the developer
PPTX
Demystifying HTML5
PDF
Cert05 70-487 - developing microsoft azure and web services
PPTX
Build Web Applications
PPTX
Web Designing
PDF
Working with Data in Service Workers
PDF
Web Storage & Web Workers
Rich Internet Applications and Flex - 3
HTML5: Introduction
Asp.Net MVC
Web designing course content
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
Alex Thissen "Server-less compute with .NET based Azure Functions"
Learn AJAX at ASIT
Announcing StencilJS
Progressive Web Apps Nedir? JavaScript Service Workers Nedir?
Javascript libraries
HTML5 - Let’s make the WEB more powerful
Next Generation UI
What cloud changes the developer
Demystifying HTML5
Cert05 70-487 - developing microsoft azure and web services
Build Web Applications
Web Designing
Working with Data in Service Workers
Web Storage & Web Workers
Ad

Viewers also liked (6)

PDF
Introduction to Android
PDF
Lesson 17
ODP
Philly.NET Code Camp 2014.1
KEY
CSS and CSS3
PDF
Introduction to Android
Lesson 17
Philly.NET Code Camp 2014.1
CSS and CSS3
Ad

Similar to Html5 n css3 (20)

PPTX
Html5 shubelal
PPT
Html5 Future of WEB
PPTX
Html,CSS & UI/UX design
PPTX
Rohit&kunjan
PPTX
Html 5
PDF
HTML5 Refresher
PPTX
KEY
HTML5 History & Features
PDF
Intro JavaScript
PPTX
PPTX
HTML 5
PPTX
Prueba ppt
PPTX
PDF
Web Tools for GemStone/S
PDF
PPTX
Introduction to HTML language Web design.pptx
PPTX
PDF
A brief introduction on HTML5 and responsive layouts
PPTX
WEB DEVELOPMENT.pptx
PPTX
web development
Html5 shubelal
Html5 Future of WEB
Html,CSS & UI/UX design
Rohit&kunjan
Html 5
HTML5 Refresher
HTML5 History & Features
Intro JavaScript
HTML 5
Prueba ppt
Web Tools for GemStone/S
Introduction to HTML language Web design.pptx
A brief introduction on HTML5 and responsive layouts
WEB DEVELOPMENT.pptx
web development

Recently uploaded (20)

PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PPTX
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
PDF
Empathic Computing: Creating Shared Understanding
PDF
Advanced Soft Computing BINUS July 2025.pdf
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
madgavkar20181017ppt McKinsey Presentation.pdf
Spectral efficient network and resource selection model in 5G networks
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
Empathic Computing: Creating Shared Understanding
Advanced Soft Computing BINUS July 2025.pdf
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
MYSQL Presentation for SQL database connectivity
Chapter 3 Spatial Domain Image Processing.pdf
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Electronic commerce courselecture one. Pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
NewMind AI Monthly Chronicles - July 2025
Per capita expenditure prediction using model stacking based on satellite ima...
Transforming Manufacturing operations through Intelligent Integrations
Reach Out and Touch Someone: Haptics and Empathic Computing
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Dropbox Q2 2025 Financial Results & Investor Presentation

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.
  • 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.
  • 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
  • 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
  • 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