SlideShare a Scribd company logo
HTML 5 – Introduction
                    HTML5 is here, and the Web will never be the same




                                     Manoj Kumar
                                     Sr. Technical Consultant
                                     manoj.kumar@neudesic.com           29 Aug, 2011




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Agenda

    • HTML5 Features: Main features it has and how are we going to cover them
      in coming sessions

    • HTML5 Semantic Markup

    • HTML5 Audio and Video

    • Next session sneak peek


The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
What is exactly HTML5?

             – HTML5 = HTML + CSS + JavaScript

             – How developers use improved markup, richer style capabilities and new JavaScript APIs to
               make the most of new Web development features?

             – W3C: all 100-plus of these specifications under the moniker “HTML5”

             – A unifying concept for that change

             – So: HTML5 is about changes to HTML, CSS and JavaScript. Rather than worrying about all
               100-plus specifications


The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Main Features
    • HTML5 Semantic & Markup, Forms 2.0
    • HTML5 Audio and Video Multimedia
    • HTML5 Canvas
    • Scalable Vector Graphics (SVG)
    • HTML5 FileSystem APIs, Geolocation, Speech Input
    • Web Storage, Microdata, Server-Sent Events
    • Web Workers, Web Sockets, Notifications
    • Cascading Style Sheets, Level 3 (CSS3): Media Queries,
      2D/3D transforms, Grid System, Web fonts etc.
    • ECMAScript5
The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 Semantics & Markup




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 Semantics & Markup
    • Not as XHTML, HTML5 has lots of flexibility and would support the
      followings:
             –     Uppercase tag names.
             –     Quotes are optional for attributes.
             –     Attribute values are optional.
             –     Closing empty elements are optional.
    • Some rules for HTML5 were established:
             –     New features should be based on HTML, CSS, DOM, and JavaScript
             –     Reduce the need for external plugins (like Flash)
             –     Better error handling
             –     More markup to replace scripting
             –     HTML5 should be device independent
             –     The development process should be visible to the public

The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Shorter Markups
    Old way                                                               HTML5 way

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"              <!DOCTYPE html>
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">   <html lang="en">


    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">   <meta charset="utf-8" />


    <link rel="stylesheet" href="style-original.css" type="text/css" />   <link rel="stylesheet" href="style-
                                                                          original.css" />

    <script type="text/javascript" src="scriptfile.js"></script>          <script src="scriptfile.js"></script>



The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 Semantics
          – Elements, attributes, and attribute values in HTML : Have certain meanings (semantics).
            For example, the ol element represents an ordered list, and the lang attribute represents
            the language of the content.

          – Correct HTML5 markup allow it to be used in wide variety of context.

          – Simple example: Same Web page written by an author who only considered desktop
            computer Web browsers can be viewed by a small browser on a mobile phone.
            [Because HTML conveys meaning, rather than presentation]

          – Authors must not use elements, attributes, or attribute values for purposes other than
            their appropriate intended semantic purpose, as doing so prevents software from
            correctly processing the page.

The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
New Semantic Elements in HTML5
              HTML5 is not just about making existing markup shorter.

              <section> The section element represents a generic document or application section.
                          Examples: A Web site's home page could be split into sections for an introduction,
                                      news items, contact information.
                          <div> vs semantic elements (???)

              <nav>          Represents a section of a page that links to other pages or to parts within the page:
                                — only sections that consist of major navigation blocks In particular

              <article> A component of a page that consists of a self-contained composition in a document,
                        page, application, or site and that is intended to be independently reusable
                           Examples: Forum post, a magazine article, a user-submitted comment

              <aside> A section of a page that consists of content that is tangentially related to the content
                         Examples: pull quotes or sidebars, for advertising, for groups of nav elements

The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
New Semantic Elements in HTML5
          <figure> and <figcaption> A unit of content, optionally with a caption, and that can be moved away
          from the main flow of the document without affecting the document’s meaning.
          <figure> vs <aside> : If the content is simply related and not essential, use <aside>.
          If the content is essential but its position in the flow of content isn’t important, use <figure>.

          <hgroup>Heading of a section. The element is used to group a set of h1–h6 elements when the heading
                  has multiple levels, such as subheadings, alternative titles, or taglines

          <header>The header element represents a group of introductory or navigational aids.

          <footer> The footer element represents a footer for its nearest ancestor sectioning content or
                      sectioning root element.

          <time> The time element represents either a time on a 24 hour clock, or a precise date

          <mark> The mark element represents a run of text in one document marked or highlighted for
                    reference purposes.

The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Semantic Elements and div: How to select?




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
New Semantic Elements in HTML5: Article
        Scenario:




                                                        HTML5:




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
New Semantic Elements in HTML5: Dates and Times
                          Scenario:




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
New Semantic Elements in HTML5: Navigation
 One of the most important parts of any web site is the navigation bar.
   Scenario:




Use cases:
- Motion is limited: a browser add-on allows you to jump to (or jump past) major navigation links
- Sight is limited: Using “screenreader” to go thru the document (screenreader to jump over
    the navigation bar and start reading the main content)
SO: Being able to determine navigation links programmatically is important

The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
New Semantic Elements in HTML5: Footer
 Scenario:




   HTML5:




   Contents: Its section such as who wrote it,
   links to related documents, copyright data, and the like.
   Fat footers: A rage these days


The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 Markup – Other enhancements
             – Markup for applications: <datalist>, <progress>, <meter>, <details>, <summary>




             – Descriptive link relation:




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Semantics and Markup: Demo




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 - Web Forms 2.0 : New input types

    datetime                year, month, day, hour, minute, second, fractions of a second. Encoded- ISO 8601. time zone-UTC.

    datetime-local Same but with no time zone.
    date                    date (year, month, day)
    month                   date consisting of a year and a month
    week                    date consisting of a year and a week number
    time                    time (hour, minute, seconds, fractional seconds)
    number                  only numerical value. The step attribute specifies the precision, defaulting to 1

    range                   contain a value from a range of numbers
    email                   accepts only email value. Format - email@example.com
    url                     Should contain a URL address. Format- http://www.example.com or http://example.com


The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 - Web Forms 2.0: Other enhancements
             – <output> element
             – Attribute (**attribute is supported by latest versions of Mozilla, Safari and Crome browsers only)
                 • placeholder:
                 • autofocus
                 • required
             – Custom Attributes
                 • A custom data attribute starts with data- and would be named based on your
                    requirement. Works with JavaScript APIs or CSS in similar way.



                       • Access:
                                – Dom: getAttribute("data-subject")
                                – Dataset: dataset.subject

The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Web Form: Demo




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 Multimedia – Audio & Video




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 - Audio
             – No plugin (Even with plugin, not all browser has same plugin)
             – Audio formats:
                 • Ogg
                 • Mp3
                 • Wav
             – Example:




             – Attributes: autoplay, controls, loop, preload, src

             – Media Events (Audio+Video): abort, canplay, ended, error, loadeddata, loadstart, pause,
               play, progress, ratechange, seeked, seeking, suspend, volumechange, waiting

The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 - Video
             – No plugin required
             – Video Formats
                 • 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
             – Example:




             – Attributes: audio, autoplay, controls, loop, poster, preload, src

             – Video Support:


The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Audio & Video: Demo




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
HTML5 – Video codec support in browsers




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services
Thank You
                                                         Manoj Kumar
                                                         manoj.kumar@neudesic.com




The Trusted Technology Partner in Business Innovation
Products | Consulting Services | Managed Services

More Related Content

What's hot

8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier
8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier
8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier
Luis Du Solier
 
Business Intelligence in SharePoint
Business Intelligence in SharePointBusiness Intelligence in SharePoint
Business Intelligence in SharePoint
C/D/H Technology Consultants
 
ECS19 - Matthew McDermott - How to Run a Search Project in SharePoint
ECS19 - Matthew McDermott - How to Run a Search Project in SharePointECS19 - Matthew McDermott - How to Run a Search Project in SharePoint
ECS19 - Matthew McDermott - How to Run a Search Project in SharePoint
European Collaboration Summit
 
A Simpleton's Guide to Business Intelligence in SharePoint 2010
A Simpleton's Guide to Business Intelligence in SharePoint 2010A Simpleton's Guide to Business Intelligence in SharePoint 2010
A Simpleton's Guide to Business Intelligence in SharePoint 2010
Chris McNulty
 
Concurrency SharePoint Summit 2015
Concurrency SharePoint Summit 2015Concurrency SharePoint Summit 2015
Concurrency SharePoint Summit 2015
Drew Madelung
 
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
Luis Du Solier
 
Share point development services case study
Share point development services case studyShare point development services case study
Share point development services case study
Nandita Nityanandam
 
Business Intelligence in SharePoint 2013
Business Intelligence in SharePoint 2013Business Intelligence in SharePoint 2013
Business Intelligence in SharePoint 2013
Jason Himmelstein
 
Learn why Microsoft Power BI is an Undisputed Market Leader?
Learn why Microsoft Power BI is an Undisputed Market Leader?Learn why Microsoft Power BI is an Undisputed Market Leader?
Learn why Microsoft Power BI is an Undisputed Market Leader?
Visual_BI
 

What's hot (9)

8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier
8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier
8 - Productividad en la Nube con BPOS - SharePoint Online, por Luis Du Solier
 
Business Intelligence in SharePoint
Business Intelligence in SharePointBusiness Intelligence in SharePoint
Business Intelligence in SharePoint
 
ECS19 - Matthew McDermott - How to Run a Search Project in SharePoint
ECS19 - Matthew McDermott - How to Run a Search Project in SharePointECS19 - Matthew McDermott - How to Run a Search Project in SharePoint
ECS19 - Matthew McDermott - How to Run a Search Project in SharePoint
 
A Simpleton's Guide to Business Intelligence in SharePoint 2010
A Simpleton's Guide to Business Intelligence in SharePoint 2010A Simpleton's Guide to Business Intelligence in SharePoint 2010
A Simpleton's Guide to Business Intelligence in SharePoint 2010
 
Concurrency SharePoint Summit 2015
Concurrency SharePoint Summit 2015Concurrency SharePoint Summit 2015
Concurrency SharePoint Summit 2015
 
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
4 - Silverlight y SharePoint, por Rodrigo Diaz y Mauricio Angulo
 
Share point development services case study
Share point development services case studyShare point development services case study
Share point development services case study
 
Business Intelligence in SharePoint 2013
Business Intelligence in SharePoint 2013Business Intelligence in SharePoint 2013
Business Intelligence in SharePoint 2013
 
Learn why Microsoft Power BI is an Undisputed Market Leader?
Learn why Microsoft Power BI is an Undisputed Market Leader?Learn why Microsoft Power BI is an Undisputed Market Leader?
Learn why Microsoft Power BI is an Undisputed Market Leader?
 

Similar to Html5 Introduction

Html5
Html5Html5
Html5
gjoabraham
 
Html5
Html5Html5
Html5
gjoabraham
 
web designing course bangalore
web designing course bangaloreweb designing course bangalore
web designing course bangalore
Infocampus Logics Pvt.Ltd.
 
Html 5
Html 5Html 5
Html 5
Ajay Ghosh
 
WebSphere Portal Business Overview
WebSphere Portal Business OverviewWebSphere Portal Business Overview
WebSphere Portal Business Overview
Joel Demay
 
Web services2014
Web services2014Web services2014
Web services2014
Lee Schlenker
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
MassoudmAlShareef
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
Selvaraj V
 
What Is the Use Of HTML.pptx
What Is the Use Of HTML.pptxWhat Is the Use Of HTML.pptx
What Is the Use Of HTML.pptx
ManviMulani
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
rcobos_fireworks
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
Olivier Eeckhoutte
 
Web designing course bangalore
Web designing course bangaloreWeb designing course bangalore
Web designing course bangalore
Infocampus Logics Pvt.Ltd.
 
Ibt Soa Babson Talk V8
Ibt Soa Babson Talk V8Ibt Soa Babson Talk V8
Ibt Soa Babson Talk V8
Prashant Sarode
 
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONSWeb Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
RSolutions
 
Html5 - Tutorial
Html5 - TutorialHtml5 - Tutorial
Html5 - Tutorial
adelaticleanu
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
Jesus Cortes
 
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1
Paxcel Technologies
 
Software Development Trends 2010-2011
Software Development Trends 2010-2011Software Development Trends 2010-2011
Software Development Trends 2010-2011
Charalampos Arapidis
 
Html5
Html5Html5
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5
Suresh Kumar
 

Similar to Html5 Introduction (20)

Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
web designing course bangalore
web designing course bangaloreweb designing course bangalore
web designing course bangalore
 
Html 5
Html 5Html 5
Html 5
 
WebSphere Portal Business Overview
WebSphere Portal Business OverviewWebSphere Portal Business Overview
WebSphere Portal Business Overview
 
Web services2014
Web services2014Web services2014
Web services2014
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
What Is the Use Of HTML.pptx
What Is the Use Of HTML.pptxWhat Is the Use Of HTML.pptx
What Is the Use Of HTML.pptx
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Web designing course bangalore
Web designing course bangaloreWeb designing course bangalore
Web designing course bangalore
 
Ibt Soa Babson Talk V8
Ibt Soa Babson Talk V8Ibt Soa Babson Talk V8
Ibt Soa Babson Talk V8
 
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONSWeb Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
 
Html5 - Tutorial
Html5 - TutorialHtml5 - Tutorial
Html5 - Tutorial
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1Html5 deciphered - designing concepts part 1
Html5 deciphered - designing concepts part 1
 
Software Development Trends 2010-2011
Software Development Trends 2010-2011Software Development Trends 2010-2011
Software Development Trends 2010-2011
 
Html5
Html5Html5
Html5
 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5
 

More from Manoj Kumar

Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)
Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)
Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)
Manoj Kumar
 
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)
Manoj Kumar
 
BizTalk Orchestration Fundamentals
BizTalk Orchestration FundamentalsBizTalk Orchestration Fundamentals
BizTalk Orchestration Fundamentals
Manoj Kumar
 
BizTalk Messaging Fundamentals
BizTalk  Messaging FundamentalsBizTalk  Messaging Fundamentals
BizTalk Messaging Fundamentals
Manoj Kumar
 
BizTalk Fundamentals
BizTalk  FundamentalsBizTalk  Fundamentals
BizTalk Fundamentals
Manoj Kumar
 
Structural Design pattern - Adapter
Structural Design pattern - AdapterStructural Design pattern - Adapter
Structural Design pattern - Adapter
Manoj Kumar
 
Introduction to ASP.Net Mvc3 with Razor
Introduction to ASP.Net Mvc3 with RazorIntroduction to ASP.Net Mvc3 with Razor
Introduction to ASP.Net Mvc3 with Razor
Manoj Kumar
 
Server vs Client in real life and in programming world
Server vs Client in real life and in programming worldServer vs Client in real life and in programming world
Server vs Client in real life and in programming world
Manoj Kumar
 
N-Tier Application Architecture
N-Tier Application ArchitectureN-Tier Application Architecture
N-Tier Application Architecture
Manoj Kumar
 

More from Manoj Kumar (9)

Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)
Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)
Cloud Computing – Jump start cloud development with Microsoft Azure (Part-2)
 
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)
Cloud Computing – Opportunities, Definitions, Options, and Risks (Part-1)
 
BizTalk Orchestration Fundamentals
BizTalk Orchestration FundamentalsBizTalk Orchestration Fundamentals
BizTalk Orchestration Fundamentals
 
BizTalk Messaging Fundamentals
BizTalk  Messaging FundamentalsBizTalk  Messaging Fundamentals
BizTalk Messaging Fundamentals
 
BizTalk Fundamentals
BizTalk  FundamentalsBizTalk  Fundamentals
BizTalk Fundamentals
 
Structural Design pattern - Adapter
Structural Design pattern - AdapterStructural Design pattern - Adapter
Structural Design pattern - Adapter
 
Introduction to ASP.Net Mvc3 with Razor
Introduction to ASP.Net Mvc3 with RazorIntroduction to ASP.Net Mvc3 with Razor
Introduction to ASP.Net Mvc3 with Razor
 
Server vs Client in real life and in programming world
Server vs Client in real life and in programming worldServer vs Client in real life and in programming world
Server vs Client in real life and in programming world
 
N-Tier Application Architecture
N-Tier Application ArchitectureN-Tier Application Architecture
N-Tier Application Architecture
 

Recently uploaded

LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
Fwdays
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
christinelarrosa
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
Vadym Kazulkin
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 

Recently uploaded (20)

LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
"Scaling RAG Applications to serve millions of users",  Kevin Goedecke"Scaling RAG Applications to serve millions of users",  Kevin Goedecke
"Scaling RAG Applications to serve millions of users", Kevin Goedecke
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Christine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptxChristine's Supplier Sourcing Presentaion.pptx
Christine's Supplier Sourcing Presentaion.pptx
 
High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024High performance Serverless Java on AWS- GoTo Amsterdam 2024
High performance Serverless Java on AWS- GoTo Amsterdam 2024
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 

Html5 Introduction

  • 1. HTML 5 – Introduction HTML5 is here, and the Web will never be the same Manoj Kumar Sr. Technical Consultant manoj.kumar@neudesic.com 29 Aug, 2011 The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 2. Agenda • HTML5 Features: Main features it has and how are we going to cover them in coming sessions • HTML5 Semantic Markup • HTML5 Audio and Video • Next session sneak peek The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 3. What is exactly HTML5? – HTML5 = HTML + CSS + JavaScript – How developers use improved markup, richer style capabilities and new JavaScript APIs to make the most of new Web development features? – W3C: all 100-plus of these specifications under the moniker “HTML5” – A unifying concept for that change – So: HTML5 is about changes to HTML, CSS and JavaScript. Rather than worrying about all 100-plus specifications The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 4. Main Features • HTML5 Semantic & Markup, Forms 2.0 • HTML5 Audio and Video Multimedia • HTML5 Canvas • Scalable Vector Graphics (SVG) • HTML5 FileSystem APIs, Geolocation, Speech Input • Web Storage, Microdata, Server-Sent Events • Web Workers, Web Sockets, Notifications • Cascading Style Sheets, Level 3 (CSS3): Media Queries, 2D/3D transforms, Grid System, Web fonts etc. • ECMAScript5 The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 5. HTML5 Semantics & Markup The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 6. HTML5 Semantics & Markup • Not as XHTML, HTML5 has lots of flexibility and would support the followings: – Uppercase tag names. – Quotes are optional for attributes. – Attribute values are optional. – Closing empty elements are optional. • Some rules for HTML5 were established: – New features should be based on HTML, CSS, DOM, and JavaScript – Reduce the need for external plugins (like Flash) – Better error handling – More markup to replace scripting – HTML5 should be device independent – The development process should be visible to the public The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 7. Shorter Markups Old way HTML5 way <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html lang="en"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta charset="utf-8" /> <link rel="stylesheet" href="style-original.css" type="text/css" /> <link rel="stylesheet" href="style- original.css" /> <script type="text/javascript" src="scriptfile.js"></script> <script src="scriptfile.js"></script> The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 8. HTML5 Semantics – Elements, attributes, and attribute values in HTML : Have certain meanings (semantics). For example, the ol element represents an ordered list, and the lang attribute represents the language of the content. – Correct HTML5 markup allow it to be used in wide variety of context. – Simple example: Same Web page written by an author who only considered desktop computer Web browsers can be viewed by a small browser on a mobile phone. [Because HTML conveys meaning, rather than presentation] – Authors must not use elements, attributes, or attribute values for purposes other than their appropriate intended semantic purpose, as doing so prevents software from correctly processing the page. The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 9. New Semantic Elements in HTML5 HTML5 is not just about making existing markup shorter. <section> The section element represents a generic document or application section. Examples: A Web site's home page could be split into sections for an introduction, news items, contact information. <div> vs semantic elements (???) <nav> Represents a section of a page that links to other pages or to parts within the page: — only sections that consist of major navigation blocks In particular <article> A component of a page that consists of a self-contained composition in a document, page, application, or site and that is intended to be independently reusable Examples: Forum post, a magazine article, a user-submitted comment <aside> A section of a page that consists of content that is tangentially related to the content Examples: pull quotes or sidebars, for advertising, for groups of nav elements The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 10. New Semantic Elements in HTML5 <figure> and <figcaption> A unit of content, optionally with a caption, and that can be moved away from the main flow of the document without affecting the document’s meaning. <figure> vs <aside> : If the content is simply related and not essential, use <aside>. If the content is essential but its position in the flow of content isn’t important, use <figure>. <hgroup>Heading of a section. The element is used to group a set of h1–h6 elements when the heading has multiple levels, such as subheadings, alternative titles, or taglines <header>The header element represents a group of introductory or navigational aids. <footer> The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. <time> The time element represents either a time on a 24 hour clock, or a precise date <mark> The mark element represents a run of text in one document marked or highlighted for reference purposes. The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 11. Semantic Elements and div: How to select? The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 12. New Semantic Elements in HTML5: Article Scenario: HTML5: The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 13. New Semantic Elements in HTML5: Dates and Times Scenario: The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 14. New Semantic Elements in HTML5: Navigation One of the most important parts of any web site is the navigation bar. Scenario: Use cases: - Motion is limited: a browser add-on allows you to jump to (or jump past) major navigation links - Sight is limited: Using “screenreader” to go thru the document (screenreader to jump over the navigation bar and start reading the main content) SO: Being able to determine navigation links programmatically is important The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 15. New Semantic Elements in HTML5: Footer Scenario: HTML5: Contents: Its section such as who wrote it, links to related documents, copyright data, and the like. Fat footers: A rage these days The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 16. HTML5 Markup – Other enhancements – Markup for applications: <datalist>, <progress>, <meter>, <details>, <summary> – Descriptive link relation: The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 17. Semantics and Markup: Demo The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 18. HTML5 - Web Forms 2.0 : New input types datetime year, month, day, hour, minute, second, fractions of a second. Encoded- ISO 8601. time zone-UTC. datetime-local Same but with no time zone. date date (year, month, day) month date consisting of a year and a month week date consisting of a year and a week number time time (hour, minute, seconds, fractional seconds) number only numerical value. The step attribute specifies the precision, defaulting to 1 range contain a value from a range of numbers email accepts only email value. Format - email@example.com url Should contain a URL address. Format- http://www.example.com or http://example.com The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 19. HTML5 - Web Forms 2.0: Other enhancements – <output> element – Attribute (**attribute is supported by latest versions of Mozilla, Safari and Crome browsers only) • placeholder: • autofocus • required – Custom Attributes • A custom data attribute starts with data- and would be named based on your requirement. Works with JavaScript APIs or CSS in similar way. • Access: – Dom: getAttribute("data-subject") – Dataset: dataset.subject The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 20. Web Form: Demo The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 21. HTML5 Multimedia – Audio & Video The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 22. HTML5 - Audio – No plugin (Even with plugin, not all browser has same plugin) – Audio formats: • Ogg • Mp3 • Wav – Example: – Attributes: autoplay, controls, loop, preload, src – Media Events (Audio+Video): abort, canplay, ended, error, loadeddata, loadstart, pause, play, progress, ratechange, seeked, seeking, suspend, volumechange, waiting The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 23. HTML5 - Video – No plugin required – Video Formats • 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 – Example: – Attributes: audio, autoplay, controls, loop, poster, preload, src – Video Support: The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 24. Audio & Video: Demo The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 25. HTML5 – Video codec support in browsers The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services
  • 26. Thank You Manoj Kumar manoj.kumar@neudesic.com The Trusted Technology Partner in Business Innovation Products | Consulting Services | Managed Services