SlideShare uma empresa Scribd logo
1 de 34
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
HTML 5
Jaseena A P
jsnp65@gmail.com
www.facebook.com/Jaseena
Muhammed A P
twitter.com/username
in.linkedin.com/in/profilena
me
9539443588
What is HTML 5
 HTML5 is the standard for HTML
 Use of internet changed a lot since HTML 4.01 (1999)
 Several HTML 4.01 elements are never used or never
used the way they were intended
 To better handle todays internet, HTML5 brings new
changes: New elements for drawing graphics, adding
media content, better page structure, better form
handling, and several APIs to drag/drop elements, find
Geolocation, include web storage, application cache,
web workers, etc.
How Did HTML5 Get Started?
 Cooperation between World Wide Web
Consortium (W3C) and Web Hypertext Application
Technology Working Group (WHATWG)
Some rules of HTML5 ….
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.
New features in HTML5:
The canvas element for drawing
The video and audio elements for media playback
Better support for local offline storage
New content specific elements, like article, footer,
header, nav, section
New form controls, like calendar, date, time, email, url.
New Markup elements
<HEADER>
 Specifies a group of navigation elements for the
document.
 All major browsers support <Header> Tag.
How <Header> works??
<Header>
<h1>Welcome to my website</h1>
<p>This is just an example</p>
</Header>
New Markup elements
<FOOTER>
 All major browsers support <FOOTER> Tag.
 defines the footer of a section or document.
 contains the name of the author, the date the
document was written and/or contact
information.
New Markup elements
How <Footer> works:-
<!DOCTYPE HTML>
<html>
<body>
<footer><p>This document was written in 2013</p>
<p> all copyright reserved &copy; Jaseena ap</p>
</footer>
</body></html>
New Markup elements
<ARTICLE>
 An article should make sense on its own and it should
be possible to distribute.
 Examples of possible articles:
forum post
newspaper article
blog entry
 All major browsers support <Article> Tag.
New Markup elements
How <Article> works:-
<article>
if I don't initialize a variable with DEFAULT or SET, then it's
NULL, and adding 1 to NULL always yields NULL.
</article>
New Markup elements
<ASIDE>
 Defines some content aside from the content it is placed in.
 The aside content should be related to the surrounding
content.
 All major browsers support <Aside> Tag.
How <Aside> works:-
<p>Govt Engg college Idukki is situated in painavu,the major
town in Idukki district.</p>
<aside>
<h4>Idukki Dam</h4>
Asia’s largest arch dam. Just 3km away from GECI .
</aside>
New Markup elements
<SECTION>
 Defines sections in a document like :-
Chapters.
 All major browsers support <Section> Tag
HTML5 VIDEO
Video on the Web:-
 Until now, there has never been a standard for showing video on a
web page.
 Today, most videos are shown through a plugin (like flash). However,
not all browsers have the same plugins.
 HTML5 specifies a standard way to include video, with the video
element.
Video Formats:- (Ogg , MPEG 4 , WebM).
HTML5 VIDEO
How can we use it??
<video src="C:UsersJaseenaDownloadsVideovideo1.mp4"
width="320" height="240" controls="controls">
</video>
HTML5 VIDEO
All <video> Attributes:-
ValueAttribute
mutedaudio
autoplayautoplay
controlscontrols
pixelsheight
looploop
urlposter
preloadpreload
urlsrc
pixelswidth
HTML5 AUDIO
Audio on the Web:-
 Until now, there has never been a standard for playing
audio on a web page.
 Today, most audio are played through a plugin (like flash).
However, not all browsers have the same plugins.
 HTML5 specifies a standard way to include audio, with the
audio element.
 The audio element can play sound files, or an audio
stream.
Audio Formats:- (Ogg Vorbis, MP3, Wav).
HTML5 AUDIO
How can we use it??
<audio src="C:UsersJaseenaDownloadsMusicsong1.mp3“
controls="controls">
</audio>
HTML5 AUDIO
All <audio> Attributes:-
ValueAttribute
auto playauto play
controlscontrols
looploop
preloadpreload
urlsrc
HTML CANVAS
What is Canvas??
<canvas> tag is used to display graphics.
it is only a container for graphics, we must use a script to
actually paint graphics.
All major browsers support <Canvas> Tag.
HTML CANVAS
How <Canvas> works:-
<canvas id="myCanvas">your browser does not support the
canvas tag </canvas>
<script type="text/javascript">
varcanvas=document.getElementById('myCanv');
var ctx=canvas.getContext('2d');
ctx.fillStyle='#FF0000';
ctx.fillRect(0,0,80,100);
</script> ValueAttribute
pixelsheight
pixelswidth
HTML5 INPUT TYPES
 HTML5 has several new input types for forms. These new
features allow better input control and validation.
 color
 date
 datetime
 datetime-local
 email
 month
 number
 range
 search
 tel
 time
 url
 week
HTML5 FORM ELEMENTS
HTML5 has the following new form elements:
- <datalist>
- <keygen>
- <output>
HTML5 FORM ELEMENTS
<datalist>
 The <datalist> element specifies a list of pre-defined
options for an <input> element.
 The <datalist> element is used to provide an
"autocomplete" feature on <input> elements. Users will
see a drop-down list of pre-defined options as they input
data.
 Use the <input> element's list attribute to bind it
together with a <datalist> element.
HTML5 FORM ELEMENTS
<input list="browsers">
<datalist id="browsers">
<option value="Internet Explorer">
<option value="Firefox">
<option value="Chrome">
<option value="Opera">
<option value="Safari">
</datalist>
HTML5 FORM ELEMENTS
 <keygen>
 The purpose of the <keygen> element is to provide a
secure way to authenticate users.
 The <keygen> tag specifies a key-pair generator field in a
form.
 When the form is submitted, two keys are generated, one
private and one public.
 The private key is stored locally, and the public key is sent
to the server. The public key could be used to generate a
client certificate to authenticate the user in the future.
HTML5 FORM ELEMENTS
<form action=“ " method="get">
Username: <input type="text" name="usr_name">
Encryption: <keygen name="security">
<input type="submit">
</form>
HTML5 FORM ELEMENTS
 <output>
The <output> element represents the result of a calculation
(like one performed by a script).
<form
oninput="x.value=parseInt(a.value)+parseInt
(b.value)">0
<input type="range" id="a" value="50">100 +
<input type="number" id="b" value="50">=
<output name="x" for="a b"></output>
</form>
HTML5 FORM ELEMENTS
THANK YOU
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com

Mais conteúdo relacionado

Mais procurados

Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
Terry Ryan
 
HTML5 & Front-end overview
HTML5 & Front-end overviewHTML5 & Front-end overview
HTML5 & Front-end overview
Ashish Mukherjee
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
kolev-prp
 

Mais procurados (20)

HTML - 5 - Introduction
HTML - 5 - IntroductionHTML - 5 - Introduction
HTML - 5 - Introduction
 
Introduction to html 5
Introduction to html 5Introduction to html 5
Introduction to html 5
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
 
Html 5 Features And Benefits
Html 5 Features And Benefits  Html 5 Features And Benefits
Html 5 Features And Benefits
 
Html 5 New Features
Html 5 New FeaturesHtml 5 New Features
Html 5 New Features
 
An Introduction To HTML5
An Introduction To HTML5An Introduction To HTML5
An Introduction To HTML5
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overview
 
Html5
Html5Html5
Html5
 
Web Components with Polymer (extra Polymer 2.0)
Web Components with Polymer (extra Polymer 2.0)Web Components with Polymer (extra Polymer 2.0)
Web Components with Polymer (extra Polymer 2.0)
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Html 5
Html 5Html 5
Html 5
 
Html5
Html5Html5
Html5
 
Polymer & the web components revolution 6:25:14
Polymer & the web components revolution 6:25:14Polymer & the web components revolution 6:25:14
Polymer & the web components revolution 6:25:14
 
Unlock the next era of UI design with Polymer
Unlock the next era of UI design with PolymerUnlock the next era of UI design with Polymer
Unlock the next era of UI design with Polymer
 
HTML5 & Front-end overview
HTML5 & Front-end overviewHTML5 & Front-end overview
HTML5 & Front-end overview
 
Web Components & Polymer 1.0 (Webinale Berlin)
Web Components & Polymer 1.0 (Webinale Berlin)Web Components & Polymer 1.0 (Webinale Berlin)
Web Components & Polymer 1.0 (Webinale Berlin)
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
 
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD CombinationLotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
Lotusphere 2012 Speedgeeking - jQuery & Domino, a RAD Combination
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - Ebook
 
Day of code
Day of codeDay of code
Day of code
 

Destaque

Destaque (19)

What is android
What is androidWhat is android
What is android
 
CPU and its execution of instruction
CPU and its execution of instructionCPU and its execution of instruction
CPU and its execution of instruction
 
Cpu and its execution of statements
Cpu and its execution of statementsCpu and its execution of statements
Cpu and its execution of statements
 
Code optimization
Code optimization Code optimization
Code optimization
 
Intoduction to php arrays
Intoduction to php arraysIntoduction to php arrays
Intoduction to php arrays
 
Oop concept
Oop conceptOop concept
Oop concept
 
Internet en famille : les séniors face aux ados
Internet en famille : les séniors face aux adosInternet en famille : les séniors face aux ados
Internet en famille : les séniors face aux ados
 
Introduction to mysql part 6
Introduction to mysql part 6Introduction to mysql part 6
Introduction to mysql part 6
 
Mvc
MvcMvc
Mvc
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to MVC of CodeIgniter 2.1.x
Introduction to MVC of CodeIgniter 2.1.xIntroduction to MVC of CodeIgniter 2.1.x
Introduction to MVC of CodeIgniter 2.1.x
 
ASP.NET-Web Programming - Sessions and Cookies
ASP.NET-Web Programming - Sessions and CookiesASP.NET-Web Programming - Sessions and Cookies
ASP.NET-Web Programming - Sessions and Cookies
 
CodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.comCodeIgniter - PHP MVC Framework by silicongulf.com
CodeIgniter - PHP MVC Framework by silicongulf.com
 
Session and cookies ,get and post methods
Session and cookies ,get and post methodsSession and cookies ,get and post methods
Session and cookies ,get and post methods
 
A Good PHP Framework For Beginners Like Me!
A Good PHP Framework For Beginners Like Me!A Good PHP Framework For Beginners Like Me!
A Good PHP Framework For Beginners Like Me!
 
Introduction to php web programming - get and post
Introduction to php  web programming - get and postIntroduction to php  web programming - get and post
Introduction to php web programming - get and post
 
CodeIgniter 2.0.X
CodeIgniter 2.0.XCodeIgniter 2.0.X
CodeIgniter 2.0.X
 
Codeigniter
CodeigniterCodeigniter
Codeigniter
 
Php database connectivity
Php database connectivityPhp database connectivity
Php database connectivity
 

Semelhante a Html5

Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
madhavforu
 
HTML5-Tutorial-For-Beginn.6202488.pptx
HTML5-Tutorial-For-Beginn.6202488.pptxHTML5-Tutorial-For-Beginn.6202488.pptx
HTML5-Tutorial-For-Beginn.6202488.pptx
BCAGen
 

Semelhante a Html5 (20)

Basics of HTML5 for Phonegap
Basics of HTML5 for PhonegapBasics of HTML5 for Phonegap
Basics of HTML5 for Phonegap
 
Html5 tutorial
Html5 tutorialHtml5 tutorial
Html5 tutorial
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
 
HTML5 tags.ppt
HTML5 tags.pptHTML5 tags.ppt
HTML5 tags.ppt
 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5
 
INTRUDUCTION TO HTML 5
INTRUDUCTION TO HTML 5INTRUDUCTION TO HTML 5
INTRUDUCTION TO HTML 5
 
Fundamentals of HTML5
Fundamentals of HTML5Fundamentals of HTML5
Fundamentals of HTML5
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
 
Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
 
Introduction to html55
Introduction to html55Introduction to html55
Introduction to html55
 
High-Speed HTML5
High-Speed HTML5High-Speed HTML5
High-Speed HTML5
 
HTML5-Tutorial-For-Beginn.6202488.pptx
HTML5-Tutorial-For-Beginn.6202488.pptxHTML5-Tutorial-For-Beginn.6202488.pptx
HTML5-Tutorial-For-Beginn.6202488.pptx
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
1. Introduction to HTML5.ppt
1. Introduction to HTML5.ppt1. Introduction to HTML5.ppt
1. Introduction to HTML5.ppt
 
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
1._Introduction_to_HTML5[1].MCA MODULE 1 NOTES
 
The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5The Rich Standard: Getting Familiar with HTML5
The Rich Standard: Getting Familiar with HTML5
 
Using HTML5 sensibly
Using HTML5 sensiblyUsing HTML5 sensibly
Using HTML5 sensibly
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
Html5
Html5Html5
Html5
 

Mais de baabtra.com - No. 1 supplier of quality freshers

Mais de baabtra.com - No. 1 supplier of quality freshers (20)

Agile methodology and scrum development
Agile methodology and scrum developmentAgile methodology and scrum development
Agile methodology and scrum development
 
Best coding practices
Best coding practicesBest coding practices
Best coding practices
 
Core java - baabtra
Core java - baabtraCore java - baabtra
Core java - baabtra
 
Acquiring new skills what you should know
Acquiring new skills   what you should knowAcquiring new skills   what you should know
Acquiring new skills what you should know
 
Baabtra.com programming at school
Baabtra.com programming at schoolBaabtra.com programming at school
Baabtra.com programming at school
 
99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love 99LMS for Enterprises - LMS that you will love
99LMS for Enterprises - LMS that you will love
 
Php sessions & cookies
Php sessions & cookiesPhp sessions & cookies
Php sessions & cookies
 
Chapter 6 database normalisation
Chapter 6  database normalisationChapter 6  database normalisation
Chapter 6 database normalisation
 
Chapter 5 transactions and dcl statements
Chapter 5  transactions and dcl statementsChapter 5  transactions and dcl statements
Chapter 5 transactions and dcl statements
 
Chapter 4 functions, views, indexing
Chapter 4  functions, views, indexingChapter 4  functions, views, indexing
Chapter 4 functions, views, indexing
 
Chapter 3 stored procedures
Chapter 3 stored proceduresChapter 3 stored procedures
Chapter 3 stored procedures
 
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 2  grouping,scalar and aggergate functions,joins   inner join,outer joinChapter 2  grouping,scalar and aggergate functions,joins   inner join,outer join
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Chapter 1 introduction to sql server
Chapter 1 introduction to sql serverChapter 1 introduction to sql server
Chapter 1 introduction to sql server
 
Microsoft holo lens
Microsoft holo lensMicrosoft holo lens
Microsoft holo lens
 
Blue brain
Blue brainBlue brain
Blue brain
 
5g
5g5g
5g
 
Aptitude skills baabtra
Aptitude skills baabtraAptitude skills baabtra
Aptitude skills baabtra
 
Gd baabtra
Gd baabtraGd baabtra
Gd baabtra
 
Baabtra soft skills
Baabtra soft skillsBaabtra soft skills
Baabtra soft skills
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Html5

  • 1.
  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 3.
  • 4. HTML 5 Jaseena A P jsnp65@gmail.com www.facebook.com/Jaseena Muhammed A P twitter.com/username in.linkedin.com/in/profilena me 9539443588
  • 5. What is HTML 5  HTML5 is the standard for HTML  Use of internet changed a lot since HTML 4.01 (1999)  Several HTML 4.01 elements are never used or never used the way they were intended  To better handle todays internet, HTML5 brings new changes: New elements for drawing graphics, adding media content, better page structure, better form handling, and several APIs to drag/drop elements, find Geolocation, include web storage, application cache, web workers, etc.
  • 6. How Did HTML5 Get Started?  Cooperation between World Wide Web Consortium (W3C) and Web Hypertext Application Technology Working Group (WHATWG)
  • 7. Some rules of HTML5 …. 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.
  • 8. New features in HTML5: The canvas element for drawing The video and audio elements for media playback Better support for local offline storage New content specific elements, like article, footer, header, nav, section New form controls, like calendar, date, time, email, url.
  • 9. New Markup elements <HEADER>  Specifies a group of navigation elements for the document.  All major browsers support <Header> Tag. How <Header> works?? <Header> <h1>Welcome to my website</h1> <p>This is just an example</p> </Header>
  • 10. New Markup elements <FOOTER>  All major browsers support <FOOTER> Tag.  defines the footer of a section or document.  contains the name of the author, the date the document was written and/or contact information.
  • 11. New Markup elements How <Footer> works:- <!DOCTYPE HTML> <html> <body> <footer><p>This document was written in 2013</p> <p> all copyright reserved &copy; Jaseena ap</p> </footer> </body></html>
  • 12. New Markup elements <ARTICLE>  An article should make sense on its own and it should be possible to distribute.  Examples of possible articles: forum post newspaper article blog entry  All major browsers support <Article> Tag.
  • 13. New Markup elements How <Article> works:- <article> if I don't initialize a variable with DEFAULT or SET, then it's NULL, and adding 1 to NULL always yields NULL. </article>
  • 14. New Markup elements <ASIDE>  Defines some content aside from the content it is placed in.  The aside content should be related to the surrounding content.  All major browsers support <Aside> Tag. How <Aside> works:- <p>Govt Engg college Idukki is situated in painavu,the major town in Idukki district.</p> <aside> <h4>Idukki Dam</h4> Asia’s largest arch dam. Just 3km away from GECI . </aside>
  • 15. New Markup elements <SECTION>  Defines sections in a document like :- Chapters.  All major browsers support <Section> Tag
  • 16. HTML5 VIDEO Video on the Web:-  Until now, there has never been a standard for showing video on a web page.  Today, most videos are shown through a plugin (like flash). However, not all browsers have the same plugins.  HTML5 specifies a standard way to include video, with the video element. Video Formats:- (Ogg , MPEG 4 , WebM).
  • 17. HTML5 VIDEO How can we use it?? <video src="C:UsersJaseenaDownloadsVideovideo1.mp4" width="320" height="240" controls="controls"> </video>
  • 18. HTML5 VIDEO All <video> Attributes:- ValueAttribute mutedaudio autoplayautoplay controlscontrols pixelsheight looploop urlposter preloadpreload urlsrc pixelswidth
  • 19. HTML5 AUDIO Audio on the Web:-  Until now, there has never been a standard for playing audio on a web page.  Today, most audio are played through a plugin (like flash). However, not all browsers have the same plugins.  HTML5 specifies a standard way to include audio, with the audio element.  The audio element can play sound files, or an audio stream. Audio Formats:- (Ogg Vorbis, MP3, Wav).
  • 20. HTML5 AUDIO How can we use it?? <audio src="C:UsersJaseenaDownloadsMusicsong1.mp3“ controls="controls"> </audio>
  • 21. HTML5 AUDIO All <audio> Attributes:- ValueAttribute auto playauto play controlscontrols looploop preloadpreload urlsrc
  • 22. HTML CANVAS What is Canvas?? <canvas> tag is used to display graphics. it is only a container for graphics, we must use a script to actually paint graphics. All major browsers support <Canvas> Tag.
  • 23. HTML CANVAS How <Canvas> works:- <canvas id="myCanvas">your browser does not support the canvas tag </canvas> <script type="text/javascript"> varcanvas=document.getElementById('myCanv'); var ctx=canvas.getContext('2d'); ctx.fillStyle='#FF0000'; ctx.fillRect(0,0,80,100); </script> ValueAttribute pixelsheight pixelswidth
  • 24. HTML5 INPUT TYPES  HTML5 has several new input types for forms. These new features allow better input control and validation.  color  date  datetime  datetime-local  email  month  number  range  search  tel  time  url  week
  • 25. HTML5 FORM ELEMENTS HTML5 has the following new form elements: - <datalist> - <keygen> - <output>
  • 26. HTML5 FORM ELEMENTS <datalist>  The <datalist> element specifies a list of pre-defined options for an <input> element.  The <datalist> element is used to provide an "autocomplete" feature on <input> elements. Users will see a drop-down list of pre-defined options as they input data.  Use the <input> element's list attribute to bind it together with a <datalist> element.
  • 27. HTML5 FORM ELEMENTS <input list="browsers"> <datalist id="browsers"> <option value="Internet Explorer"> <option value="Firefox"> <option value="Chrome"> <option value="Opera"> <option value="Safari"> </datalist>
  • 28. HTML5 FORM ELEMENTS  <keygen>  The purpose of the <keygen> element is to provide a secure way to authenticate users.  The <keygen> tag specifies a key-pair generator field in a form.  When the form is submitted, two keys are generated, one private and one public.  The private key is stored locally, and the public key is sent to the server. The public key could be used to generate a client certificate to authenticate the user in the future.
  • 29. HTML5 FORM ELEMENTS <form action=“ " method="get"> Username: <input type="text" name="usr_name"> Encryption: <keygen name="security"> <input type="submit"> </form>
  • 30. HTML5 FORM ELEMENTS  <output> The <output> element represents the result of a calculation (like one performed by a script). <form oninput="x.value=parseInt(a.value)+parseInt (b.value)">0 <input type="range" id="a" value="50">100 + <input type="number" id="b" value="50">= <output name="x" for="a b"></output> </form>
  • 33. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 34. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com