SlideShare a Scribd company logo
HTML5 & CSS3
New things
Agenda
• HTML vs HTML5: New features
• CSS vs CSS3: New features
• Responsive Design core concepts
• Modernizr
HTML VS HTML5: NEW
FEATURES
HTML5 & CSS3
DOCTYPE
• HTML5
– <!DOCTYPE html>
• HTML
– <!DOCTYPE html PUBLIC "-
//W3C//DTD XHTML 1.0 Transitional//EN" "htt
p://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
<Figure>
• HTML5
– <figure>
<img src="path/to/image" alt="About image" />
<figcaption>
<p>This is an image of something interesting. </p>
</figcaption>
– </figure>
• HTML
– N/A
“Type” – Links & Js
• HTML5
– Not necessary
• <script src="path/to/script.js"></script>
• HTML
– Necessary
• <script src="path/to/script.js“
type=“text/javascript”></script>
“” – ID’s & Classes
• HTML5
– Not necessary
• <p class=myClass id=someId>
• HTML
– Necessary
• <p class=“myClass” id=“someId”>
UL Editable
• HTML5
– <ul contenteditable=true>
• HTML
– N/A
Type=“Email”
• HTML5
– <input id="email" name="email" type="email"
/>
• HTML
– N/A
Placeholders
• HTML5
– <input name="email" type="email"
placeholder=“mail@domain.com" />
• HTML
– N/A
Semantic Tags
• HTML5
– <Nav>
– <Header>
– <Article>
• <Section>
– <Aside>
– <Footer>
• HTML
– N/A
Training Html5 -CSS3 New things
Required
• HTML5
– <input type="text" name="someInput"
required>
• HTML
– N/A
Autofocus
• HTML5
– <input type="text" name="someInput"
placeholder="Douglas Quaid" required
autofocus>
• HTML
– N/A
Audio
• HTML5
– <audio autoplay="autoplay"
controls="controls">
<source src="file.ogg" />
<source src="file.mp3" />
<a href="file.mp3">Download this file.</a>
– </audio>
• HTML
– N/A
Audio
• Supported formats
Video
• HTML5
– <video controls preload>
<source src=“video.ogv" type="video/ogg" />
<source src=“video.mp4" type="video/mp4”/>
<p> Your browser is old. <a
href=“video.mp4">Download this video instead.</a>
</p>
– </video>
• HTML
– N/A
Video
• Supported formats
Data Attributes
• HTML5
– <div id="myDiv" data-custom-attr="My
Value"> Text</div>
• HTML
– N/A
Demo
More help
• http://joshduck.com/periodic-table.html
CSS3 VS CSS: NEW FEATURES
HTML5 & CSS3
First Child
• CSS3
– #big_section p:first-child{ }
• CSS
– N/A
First Letter
• CSS3
– #p_line:first-letter{ }
• CSS
– N/A
Border Radius
• CSS3
– border-radius: 10px 90px 90px 10px;
• CSS
– N/A
Transition
• CSS3
– transition: width 2s, height 2s, color
3s, transform 2s, linear 2s;
• CSS
– N/A
Transformation
• CSS3
– transform:rotate(7deg);
– transform: translate(70px);
• CSS
– N/A
RESPONSIVE WEB DESIGN
HTML5 & CSS3
What is?
• “A website that responds to the device that
accesses it and delivers the appropriate
output for it uses responsive design.
Rather than designing multiple sites for
different-sized devices, this approach
designs one site but specifies how it
should appear on varied devices.”
https://itservices.stanford.edu/service/web/mobile/about/terminology
What isn’t?
• A small website
• Different url’s for different devices
• Having 100% width elements
Viewports
• <meta name="viewport"
content="width=device-width, user-
scalable=false;">
Media Queries
• CSS3 module
• Adapt to conditions like screen resolution
• Breakpoint
– @media only screen and (max-device-width:
480px) { }
Examples
• Fixed Design: http://www.corvusart.com/
• Elastic Design: http://clearleft.com/
• Responsive Web Design: Demo
MODERNIZR
HTML5 & CSS3
Modernizr
• Use HTML5 on old browsers
• Simple: Add reference to the js file
• Download: www.modernizr.com
Links
• Lynda:
– Responsive Design Fundamentals
– CSS3 First Look
• www.modernizr.com
• www.html5test.com/compare/browser/inde
x.html
• www.slideshare.net/Jim04

More Related Content

PDF
seamless – Object Oriented CMS System
PPTX
Html5 css3 Online Training
PPTX
HTML5 for ASP.NET Developers
PPTX
Bayt training
PDF
Taking Your Website Mobile with TYPO3 (again)
PPTX
Canopy view of single-page applications (SPAs)
PPTX
Interactive Responsive Emails - Creative ways to innovate in email development
PDF
Data visualization with d3 may19
seamless – Object Oriented CMS System
Html5 css3 Online Training
HTML5 for ASP.NET Developers
Bayt training
Taking Your Website Mobile with TYPO3 (again)
Canopy view of single-page applications (SPAs)
Interactive Responsive Emails - Creative ways to innovate in email development
Data visualization with d3 may19

What's hot (20)

PDF
How to build a static website in two and a half days with Nuxt and Tailwind CSS
PDF
Tools for Modern Web Design
PPTX
SVG - Scalable Vector Graphic
PPTX
Introduction to Jquery
PDF
Introduction to html & css
PPTX
Javascript
PPTX
JavaScript Frameworks for SharePoint add-ins Cambridge
PPTX
Take Your Website From Lethargic To Blazingly Fast
PDF
Organize Your Website With Advanced CSS Tricks
PPTX
Angular js
PDF
Css navbar
PDF
Microfrontends: The good, the bad, and the ugly
PPTX
Web Designing
PPTX
MSTCCU'16 - Aspiration Webbers - Session 2 - HTML&CSS
PPTX
Accessibility Hacks version 2
PDF
Building JavaScript Apps for Force.com with EmberJS
PPTX
Accessibility Hacks Wordcamp Manchester October 2018
PPTX
Developer skills
PPTX
Patterns in add ins espc15
PDF
Aleact
How to build a static website in two and a half days with Nuxt and Tailwind CSS
Tools for Modern Web Design
SVG - Scalable Vector Graphic
Introduction to Jquery
Introduction to html & css
Javascript
JavaScript Frameworks for SharePoint add-ins Cambridge
Take Your Website From Lethargic To Blazingly Fast
Organize Your Website With Advanced CSS Tricks
Angular js
Css navbar
Microfrontends: The good, the bad, and the ugly
Web Designing
MSTCCU'16 - Aspiration Webbers - Session 2 - HTML&CSS
Accessibility Hacks version 2
Building JavaScript Apps for Force.com with EmberJS
Accessibility Hacks Wordcamp Manchester October 2018
Developer skills
Patterns in add ins espc15
Aleact
Ad

Viewers also liked (20)

PPTX
HTML5 Training in Pune by Technnovation Labs
PPTX
AngularJs-training
PPT
JavaScript Training
ODP
Javascript training sample
PPTX
CSS3 Styling
PPTX
Training HTML5 CSS3 Ilkom IPB
PPTX
Training On Angular Js
PDF
Angular 2 Component styles
PDF
HTML lets get creative!!
PPTX
Kalp Corporate Angular Js Tutorials
PDF
Front End performance as a Continuous Integration - Part1
PDF
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
PPTX
Angular js
PPTX
Angular module
PPTX
Single page application 04
PPTX
Christmas Trees Made with HTML CSS and JS
PPTX
Angular 2
PDF
Modular HTML, CSS, & JS Workshop
PPTX
About Best friends - HTML, CSS and JS
PPTX
Front-end development introduction (HTML, CSS). Part 1
HTML5 Training in Pune by Technnovation Labs
AngularJs-training
JavaScript Training
Javascript training sample
CSS3 Styling
Training HTML5 CSS3 Ilkom IPB
Training On Angular Js
Angular 2 Component styles
HTML lets get creative!!
Kalp Corporate Angular Js Tutorials
Front End performance as a Continuous Integration - Part1
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Angular js
Angular module
Single page application 04
Christmas Trees Made with HTML CSS and JS
Angular 2
Modular HTML, CSS, & JS Workshop
About Best friends - HTML, CSS and JS
Front-end development introduction (HTML, CSS). Part 1
Ad

Similar to Training Html5 -CSS3 New things (20)

PPTX
Presentation 1 (1).pptx
PPTX
Introduction to html5 and css3
PPTX
Html,CSS & UI/UX design
KEY
HTML5: A brave new world of markup
PPTX
PPTX
HTML5- The Boosting Era of Web Development
PPTX
Introduction to whats new in css3
PDF
HTML5 for the Flash Developer
KEY
The web standards gentleman: a matter of (evolving) standards)
PPT
SDP_-_Module_4.ppt
PPT
html5 css3 the future of web technology
PDF
UMK Lecture 5 - HTML5 latest v7
PPT
HTML5 CSS3 The Future of Web Technologies
PPT
09 html5 css3-the_future_of_web_technology
PPT
Html5, css3 and the future of web technologies
PPT
09. html5 & css3 furture of web
PDF
Full download Responsive Web Design with HTML5 and CSS3 Second Edition Ben Fr...
PDF
Responsive Web Design with HTML5 and CSS3 Second Edition Ben Frain
PDF
Html5 - Tutorial
PDF
Html5 tutorial
Presentation 1 (1).pptx
Introduction to html5 and css3
Html,CSS & UI/UX design
HTML5: A brave new world of markup
HTML5- The Boosting Era of Web Development
Introduction to whats new in css3
HTML5 for the Flash Developer
The web standards gentleman: a matter of (evolving) standards)
SDP_-_Module_4.ppt
html5 css3 the future of web technology
UMK Lecture 5 - HTML5 latest v7
HTML5 CSS3 The Future of Web Technologies
09 html5 css3-the_future_of_web_technology
Html5, css3 and the future of web technologies
09. html5 & css3 furture of web
Full download Responsive Web Design with HTML5 and CSS3 Second Edition Ben Fr...
Responsive Web Design with HTML5 and CSS3 Second Edition Ben Frain
Html5 - Tutorial
Html5 tutorial

More from Jimmy Campos (6)

PDF
Starting with CSS3
PPTX
Starting with Scrum
PDF
Diseno de productos utilizando metodologias agiles
PPTX
Agile experience design part 3
PDF
Agile experience design part 2
PPTX
Agile experience design part one
Starting with CSS3
Starting with Scrum
Diseno de productos utilizando metodologias agiles
Agile experience design part 3
Agile experience design part 2
Agile experience design part one

Recently uploaded (20)

PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Architecture types and enterprise applications.pdf
PDF
STKI Israel Market Study 2025 version august
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPT
Module 1.ppt Iot fundamentals and Architecture
Final SEM Unit 1 for mit wpu at pune .pptx
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Chapter 5: Probability Theory and Statistics
DP Operators-handbook-extract for the Mautical Institute
OMC Textile Division Presentation 2021.pptx
Enhancing emotion recognition model for a student engagement use case through...
cloud_computing_Infrastucture_as_cloud_p
Architecture types and enterprise applications.pdf
STKI Israel Market Study 2025 version august
Hindi spoken digit analysis for native and non-native speakers
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Group 1 Presentation -Planning and Decision Making .pptx
O2C Customer Invoices to Receipt V15A.pptx
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Getting started with AI Agents and Multi-Agent Systems
Web App vs Mobile App What Should You Build First.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Module 1.ppt Iot fundamentals and Architecture

Training Html5 -CSS3 New things

Editor's Notes

  • #10: Sin embargo se deben seguir implementando validaciones cliente/servidor
  • #11: Sin embargo se deben seguir implementando validaciones cliente/servidor
  • #12: Razones para usarlasMayor claridad para los desarrolladoresMayor facilidad para trabajar con cssRegiones definidas para el SEOAyuda a las tecnologias de asistencia, como lectores de pantalla
  • #14: Razones para usarlasMayor claridad para los desarrolladoresMayor facilidad para trabajar con cssRegiones definidas para el SEOAyuda a las tecnologias de asistencia, como lectores de pantalla
  • #15: Razones para usarlasMayor claridad para los desarrolladoresMayor facilidad para trabajar con cssRegiones definidas para el SEOAyuda a las tecnologias de asistencia, como lectores de pantalla
  • #16: Razones para usarlasMayor claridad para los desarrolladoresMayor facilidad para trabajar con cssRegiones definidas para el SEOAyuda a las tecnologias de asistencia, como lectores de pantalla
  • #18: Razones para usarlasMayor claridad para los desarrolladoresMayor facilidad para trabajar con cssRegiones definidas para el SEOAyuda a las tecnologias de asistencia, como lectores de pantalla
  • #19: Razones para usarlasMayor claridad para los desarrolladoresMayor facilidad para trabajar con cssRegiones definidas para el SEOAyuda a las tecnologias de asistencia, como lectores de pantalla
  • #20: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #21: http://joshduck.com/periodic-table.html
  • #22: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #24: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #25: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #26: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #27: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #28: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #30: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #31: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #32: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #33: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #34: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #36: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.
  • #37: Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.