SlideShare une entreprise Scribd logo
1  sur  31
SARANSH KATARIA
AKSHAY KATYAL
26/Aug/2011
Introduction To HTML5
Brief review of tags
What Is HTML5?
Why The Shift?
Getting Started
New Features
New Additions
The Forms
Media Elements
Flash or HTML5
Topics to be discussed
HTML4 Tags Revisited
• <!--...--> A comment
• <!DOCTYPE> The document type (only one in
HTML5)
• <a> Hyperlink to a page or page area
• <abbr> An abbreviation
• <address> Container for an address
• <area> An area inside an image map
• <b> Bold text
• <base> A base URL for all the links in a page
• <bdo> Direction of text display
• <blockquote> A block of text
• <body> Beginning a body element
• <br> A single line break
• <button> A clickable button
• <caption> A table caption
• <cite> Container for a citation
• <code> Format for computer code text
• <col> Defines attributes for table columns
• <colgroup> Container for groups of table columns
• <dd> Container for a value for the <dt> element
• <del> Container for deleted text
• <dfn> Representation of the defining instance of
term
• <dl> Head for an association list
• <div> Demarcation of division in a document
• <dt> Specification for a name in name-value group
(description list)
• <em> Emphasized text
• <fieldset> Container for a set of form controls
• <form> Container for a form typically with input
elements
• <h1> to <h6> Text header 1 to header 6
• <head> Container for the fi rst code to be
interpreted by browser
• <hr> Horizontal rule (line)
• <html> Container for an HTML document
• <i> Italic text
• <iframe> Frame an inline sub window
• <img> Image container
• <input> User-input field within a form container
• <ins> Container for inserted text within implied
paragraph boundaries
• <kbd> Container for user keyboard input
• <label> Representation of a caption in a user
interface
• <legend> Title in a fieldset border
• <li> List item indicator
• <link> A resource reference (for example, CSS)
• <map> Image map container
• <mark> Text in one context marked for text in
different context
• <menu> Container for a list of commands
• <meta> Container for meta information
• <object> Container for embedded object (for
example, a SWF file)
• <ol> A numbered (ordered) list
• <optgroup> An option grouping header in an
options list
• <option> Container for individual options in a drop-
down list
• <p> A paragraph block
• <param> Plug-in parameters
• <pre> Preformatted text format
• <tr> Demarcation of a table row
• <q> Enclosed text with quotation marks
• <script> Container for script for CSS, JavaScript, or
another recognized script
• <select> A selectable list
• <small> Small text
• <span> Inline section in a document
• <strong> Strong text that looks like bold
• <style> Container for a style definition
• <var> Variable style in formula
• <ul> An unordered list (a bullet list)
• <sub> Subscripted text
• <sup> Superscripted text
• <table> A table definition
• <tbody> Demarcation for a block of rows for a
table’s body
• <td> A table cell
• <textarea> A text area container
• <tfoot> Representation for a block of rows of
column summaries for a table
• <th> Table header format
• <thead> Representation of a block of rows of
column summaries for a table header
• <title> The document title
What Is HTML5?
Reduces the use of JavaScript
Good replacement for adobe apps
No extra plug-in’s required
Redundant tags removed
Exciting new media elements
Employs a lot of HTML4 elements
Why HTML5?
Getting started
The doctype
XHTML 1.0 Transitional
<!DOCTYPE html PUBLIC “-//w3c//DTD XHTML 1.0
Transitional // EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd”>
HTML5
<!DOCTYPE html>
The Head Section
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8”>
<meta name=”keywords” content=”kennels, dog fences, pet containment”>
<meta http-equiv=”Refresh” content=”30”>
<title>
<meta>
Example
<title>Title goes here</title>
Structural Tags
The Latest Additions
LINK
Web Forms Demo
Inserting Audio
<audio src=”jazz.mp3”></audio>
<audio src=“x.mp3” autoplay controls></audio>
Inserting Videos
<video src=”mbAux1small.mp4” controls preload=”auto”></video>
Browser Support
Flash Vs HTML5
New Features
Professional HTML5 in use
• <article> Self-contained composition in document
• <aside> Content tangentially related to content of
the article
• <audio> Sound content container
• <canvas> Graphic development container
• <command> A command that the user can invoke
• <datalist> List generator when used with the
<input> element and its new list attribute
• <details> Discloses details of an element
• <embed> External interactive plug-in or content
• <figcaption> Caption tag for the figure element
• <figure> Contains a group of media content and
their caption
Tags used in HTML5
• <footer> Container for a footer for a section or
page
• <header> Container for header for a section or
page
• <hgroup> A heading of a section with multiple h1 to
h6 elements in a document
• <mark> A string of text in one document, marked
or highlighted for reference in another document
• <meter> Container for a known range of values (for
example, disk use)
• <nav> Representation of a section of a document
intended for navigation
• <output> Defi nes the progress of a task of any
kind
• <progress> Representation of the progress made
in a task (such as percentage complete in a
download operation)
• <section> Theme identifier for content grouping
• <source> Container for multiple specification of
media resources
• <summary> Information on a <details> element
• <time> Container for a date/time
• <video> Element for linking to a video file
• <keygen> The key pair generator control
representation.
A Brief Glimpse Of
The Next Session
SVG
CANVAS
Any questions?
Q & A
Any questions?

Contenu connexe

Tendances (20)

HTML - LinkedIn
HTML - LinkedInHTML - LinkedIn
HTML - LinkedIn
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3
 
HTML By K.Sasidhar
HTML By K.SasidharHTML By K.Sasidhar
HTML By K.Sasidhar
 
Html
HtmlHtml
Html
 
HTML
HTMLHTML
HTML
 
HTML
HTMLHTML
HTML
 
03 HTML #burningkeyboards
03 HTML #burningkeyboards03 HTML #burningkeyboards
03 HTML #burningkeyboards
 
Origins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTMLOrigins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTML
 
Html introduction
Html introductionHtml introduction
Html introduction
 
PPT on Basic HTML Tags
PPT on Basic HTML TagsPPT on Basic HTML Tags
PPT on Basic HTML Tags
 
Html
HtmlHtml
Html
 
Html tags or elements
Html tags or elementsHtml tags or elements
Html tags or elements
 
Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
 
Html Basic Tags
Html Basic TagsHtml Basic Tags
Html Basic Tags
 
Html
HtmlHtml
Html
 
HTML5 2019
HTML5 2019HTML5 2019
HTML5 2019
 
1. HTML
1. HTML1. HTML
1. HTML
 
Html
HtmlHtml
Html
 
TUTORIAL DE CSS 2.0
TUTORIAL DE CSS 2.0TUTORIAL DE CSS 2.0
TUTORIAL DE CSS 2.0
 

Similaire à Introduction to html5

Similaire à Introduction to html5 (20)

Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
 
Html5 ppt
Html5 pptHtml5 ppt
Html5 ppt
 
Training HTML
Training HTMLTraining HTML
Training HTML
 
Html
HtmlHtml
Html
 
HTML CSS and Web Development
HTML CSS and Web DevelopmentHTML CSS and Web Development
HTML CSS and Web Development
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvvLecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
 
Presentation 1 (1).pptx
Presentation 1 (1).pptxPresentation 1 (1).pptx
Presentation 1 (1).pptx
 
Html goodies
Html goodiesHtml goodies
Html goodies
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
 
Uta005 lecture2
Uta005 lecture2Uta005 lecture2
Uta005 lecture2
 
Intro to html 5
Intro to html 5Intro to html 5
Intro to html 5
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 
HTML5 - An Introduction
HTML5 - An IntroductionHTML5 - An Introduction
HTML5 - An Introduction
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page Designing
 
HTML Webinar Class
HTML Webinar ClassHTML Webinar Class
HTML Webinar Class
 
Unit 1wt
Unit 1wtUnit 1wt
Unit 1wt
 
Intro webtechstc
Intro webtechstcIntro webtechstc
Intro webtechstc
 

Dernier

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Dernier (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

Introduction to html5

  • 1.
  • 3. Brief review of tags What Is HTML5? Why The Shift? Getting Started New Features New Additions The Forms Media Elements Flash or HTML5 Topics to be discussed
  • 4. HTML4 Tags Revisited • <!--...--> A comment • <!DOCTYPE> The document type (only one in HTML5) • <a> Hyperlink to a page or page area • <abbr> An abbreviation • <address> Container for an address • <area> An area inside an image map • <b> Bold text • <base> A base URL for all the links in a page • <bdo> Direction of text display • <blockquote> A block of text • <body> Beginning a body element
  • 5. • <br> A single line break • <button> A clickable button • <caption> A table caption • <cite> Container for a citation • <code> Format for computer code text • <col> Defines attributes for table columns • <colgroup> Container for groups of table columns • <dd> Container for a value for the <dt> element • <del> Container for deleted text • <dfn> Representation of the defining instance of term • <dl> Head for an association list
  • 6. • <div> Demarcation of division in a document • <dt> Specification for a name in name-value group (description list) • <em> Emphasized text • <fieldset> Container for a set of form controls • <form> Container for a form typically with input elements • <h1> to <h6> Text header 1 to header 6 • <head> Container for the fi rst code to be interpreted by browser • <hr> Horizontal rule (line) • <html> Container for an HTML document • <i> Italic text
  • 7. • <iframe> Frame an inline sub window • <img> Image container • <input> User-input field within a form container • <ins> Container for inserted text within implied paragraph boundaries • <kbd> Container for user keyboard input • <label> Representation of a caption in a user interface • <legend> Title in a fieldset border • <li> List item indicator • <link> A resource reference (for example, CSS) • <map> Image map container
  • 8. • <mark> Text in one context marked for text in different context • <menu> Container for a list of commands • <meta> Container for meta information • <object> Container for embedded object (for example, a SWF file) • <ol> A numbered (ordered) list • <optgroup> An option grouping header in an options list • <option> Container for individual options in a drop- down list • <p> A paragraph block • <param> Plug-in parameters
  • 9. • <pre> Preformatted text format • <tr> Demarcation of a table row • <q> Enclosed text with quotation marks • <script> Container for script for CSS, JavaScript, or another recognized script • <select> A selectable list • <small> Small text • <span> Inline section in a document • <strong> Strong text that looks like bold • <style> Container for a style definition • <var> Variable style in formula • <ul> An unordered list (a bullet list)
  • 10. • <sub> Subscripted text • <sup> Superscripted text • <table> A table definition • <tbody> Demarcation for a block of rows for a table’s body • <td> A table cell • <textarea> A text area container • <tfoot> Representation for a block of rows of column summaries for a table • <th> Table header format • <thead> Representation of a block of rows of column summaries for a table header • <title> The document title
  • 12. Reduces the use of JavaScript Good replacement for adobe apps No extra plug-in’s required Redundant tags removed Exciting new media elements Employs a lot of HTML4 elements Why HTML5?
  • 13. Getting started The doctype XHTML 1.0 Transitional <!DOCTYPE html PUBLIC “-//w3c//DTD XHTML 1.0 Transitional // EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd”> HTML5 <!DOCTYPE html>
  • 14. The Head Section <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8”> <meta name=”keywords” content=”kennels, dog fences, pet containment”> <meta http-equiv=”Refresh” content=”30”> <title> <meta> Example <title>Title goes here</title>
  • 18. Inserting Audio <audio src=”jazz.mp3”></audio> <audio src=“x.mp3” autoplay controls></audio>
  • 19. Inserting Videos <video src=”mbAux1small.mp4” controls preload=”auto”></video>
  • 22.
  • 25. • <article> Self-contained composition in document • <aside> Content tangentially related to content of the article • <audio> Sound content container • <canvas> Graphic development container • <command> A command that the user can invoke • <datalist> List generator when used with the <input> element and its new list attribute • <details> Discloses details of an element • <embed> External interactive plug-in or content • <figcaption> Caption tag for the figure element • <figure> Contains a group of media content and their caption Tags used in HTML5
  • 26. • <footer> Container for a footer for a section or page • <header> Container for header for a section or page • <hgroup> A heading of a section with multiple h1 to h6 elements in a document • <mark> A string of text in one document, marked or highlighted for reference in another document • <meter> Container for a known range of values (for example, disk use) • <nav> Representation of a section of a document intended for navigation • <output> Defi nes the progress of a task of any kind
  • 27. • <progress> Representation of the progress made in a task (such as percentage complete in a download operation) • <section> Theme identifier for content grouping • <source> Container for multiple specification of media resources • <summary> Information on a <details> element • <time> Container for a date/time • <video> Element for linking to a video file • <keygen> The key pair generator control representation.
  • 28. A Brief Glimpse Of The Next Session
  • 29. SVG
  • 31. Any questions? Q & A Any questions?