SlideShare une entreprise Scribd logo
1  sur  32
HTML Timeline
0 1995 : HTML 2.0
0 1997 :HTML 3.2
0 1998 : start the Web standards project
0 1999 : HTML 4.0
0 2000 : XHTML 1.0
0 2004 : WHATWG begins what become HTML5
0 2010 : HTML5 grows increased
What Is HTML5 ?!
0 HTML5 will be the new standard for HTML.
0 HTML5 is still a work in progress. However, the major
browsers support many of the new HTML5 elements
and APIs.
How Did HTML5 Get Started?
0 HTML5 is a cooperation between (W3C) and (WHATWG).
0 WHATWG was working with web forms and applications, and
W3C was working with XHTML 2.0. In 2006, they decided to
cooperate and create a new version of HTML.
Some rules for HTML5 were established:
0 New features should be based on HTML, CSS, DOM,and JavaScript
0 Reduce the need for external plugins (like Flash).
0 Better error handling.
0 More markup to replace scripting.
0 HTML5 should be device independent.
0 The development process should be visible to the public.
HTML5 – New Features
Some of the most interesting new features in HTML5:
0 The <canvas> element for 2D drawing
0 The <video> and <audio> elements for media
playback
0 Support for local storage
0 New content-specific elements, like <article>,
<footer>, <header>, <nav>, <section>
0 New form controls, like calendar , date , time , email ,
url , search …….And More
Interested…??So See those
0 The HTML5 <!DOCTYPE>
To declare html5 doc it is very simple you just need to write:
<!DOCTYPE html>
0 Simple HTML5 document
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
Browser Support for HTML5
0 HTML5 till now not official standard, and no browsers
have full HTML5 support.
0 But all major browsers (Safari, Chrome, Firefox,
Opera, Internet Explorer) continue to add new HTML5
features to their latest versions.
0 You Can Find very useful HTML5 Reference Here:
http://www.w3schools.com/tags/default.asp
What HTML5 Adds for US?
0 Today, several elements in HTML 4.01 are obsolete,
never used, or not used the way they were intended.
All those elements are removed or re-written in
HTML5.
0 HTML5 also includes 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.
New Media Elements
Tag Description
<audio> Defines sound content
<video> Defines a video or movie
<source> Defines multiple media resources for <video> and <audio>
<embed> Defines a container for an external application or interactive
content (a plug-in)
<track> Defines text tracks for <video> and <audio>
New Semantic/Structural
Elements
Tag Description
<article> Defines an article
<aside> Defines content aside from the page content
<bdi> Isolates a part of text that might be formatted in a different
direction from other text outside it
<details> Defines additional details that the user can view or hide
<summary> Defines a visible heading for a <details> element
New Semantic/Structural
Elements(Cont.)
Tag Description
<figure> Specifies self-contained content, like illustrations, diagrams,
photos, code listings, etc.
<figcaption> Defines a caption for a <figure> element
<footer> Defines a footer for a document or section
<header> Defines a header for a document or section
New Semantic/Structural
Elements(Cont.)
Tag Description
<mark> Defines marked/highlighted text
<meter> Defines a scalar measurement within a known range (a gauge)
<nav> Defines navigation links
<progress> Represents the progress of a task
<section> Defines a section in a document such as chapter
<time> Defines a date/time
Removed Elements
The following HTML 4.01 elements are removed from HTML5:
0 <acronym>
0 <applet>
0 <basefont>
0 <big>
0 <center>
0 <dir>
0 <font>
0 <frame>
0 <frameset>
0 <noframes>
0 <strike>
0 <tt>
The New <canvas> Element
0 The <canvas> element is used to draw graphics, on
the fly, on a web page.
0 Draw a red rectangle, a gradient rectangle, a
multicolor rectangle, and some multicolor text onto
the canvas:
0 The <canvas> element is only a container for graphics.
You must use a script to actually draw the graphics.
0 Canvas has several methods for drawing paths, boxes,
circles, characters, and adding images.
The New <canvas> Element
(Practical Perspective)
Create a Canvas
0 A canvas is a rectangular area on an HTML page, and it is
specified with the <canvas> element.
The markup looks like this:
<canvas id="myCanvas“ width="200" height="100"></canvas>
0 To add a border, use the style attribute:
<canvas id="myCanvas“ style="border:1px solid #000000;">
0 Browser Support
IE9+, Firefox, Opera, Chrome, and Safari support <canvas> element.
The New <canvas> Element
(Practical Perspective Cont.)
0Draw Onto The Canvas With JavaScript
All drawing on the canvas must be done inside a JavaScript:
<script>
var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
ctx.fillStyle="#FF0000";
ctx.fillRect(0,0,150,75);
</script>
Of course you can Do more with <canvas> if you interests visit
http://www.w3schools.com/html/html5_canvas.asp
HTML5 Inline SVG
0 First What is SVG?
0 SVG stands for Scalable Vector Graphics
0 SVG is used to define vector-based graphics for the Web
0 SVG defines the graphics in XML format
0 SVG graphics do NOT lose any quality if they are zoomed or
resized
0 Every element and every attribute in SVG files can be animated
0 SVG is a W3C recommendation
Browser Support
IE9+, Firefox, Opera, Chrome, and Safari support inline SVG.
Differences Between
SVG and Canvas
0 SVG is a language for describing 2D graphics in XML.
0 Canvas draws 2D graphics, on the fly (with a JavaScript).
0 SVG is XML based, which means that every element is available within the
SVG DOM. You can attach JavaScript event handlers for an element.
0 In SVG, each drawn shape is remembered as an object. If attributes of an
SVG object are changed, the browser can automatically re-render the
shape.
0 Canvas is rendered pixel by pixel. In canvas, once the graphic is drawn, it is
forgotten by the browser. If its position should be changed, the entire
scene needs to be redrawn, including any objects that might have been
covered by the graphic.
HTML5 Drag and Drop
0 In HTML5, drag and drop is part of the standard, and any
element can be draggable.
Browser Support
IE9+, Firefox, Opera, Chrome, and Safari support drag and drop.
In Next Slide You Will Find an Example with Explanation
HTML5 Geolocation
0 The HTML5 Geolocation API is used to get the
geographical position of a user.
0Displaying the Result in a Map
function showPosition(position)
{
var latlon=position.coords.latitude+","+position.coords.longitude;
var img_url="http://maps.googleapis.com/maps/api/staticmap?center="
+latlon+"&zoom=14&size=400x300&sensor=false";
document.getElementById("mapholder").innerHTML=
"<img src='"+img_url+"'>"; }
0 To display the result in a map, you need access to a map service that can use
latitude and longitude, like Google Maps.
0 In the example above we use the returned latitude and longitude data to
show the location in a Google map (using a static image).
For More Info Visit :
http://www.w3schools.com/html/html5_geolocation.asp
HTML5 Video
0 Until now, ‘s No a standard for showing a video/movie on a
web page.
0 Today, most videos are shown through a plug-in (like flash).
However, different browsers may have different plug-ins.
0 HTML5 defines a new element which specifies a standard way
to embed a video/movie on a web page: the <video> element.
0 Browser Support
IE9+, Firefox, Opera, Chrome, and Safari support the <video> element.
HTML5 Video
(example)
0 <video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
HTML5 Audio
0 Until now, there’s No standard for playing audio files
on a web page.
0 Today, most audio files are played through a plug-in
(like flash). However, different browsers may have
different plug-ins.
0 HTML5 defines a new element which specifies a
standard way to embed an audio file on a web page:
the <audio> element.
0 Browser Support
IE9+, Firefox, Opera, Chrome, and Safari support the
<audio> element.
HTML5 Audio
(example)
0 <audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
HTML5 Input Types
HTML5 has several new input types for forms. These new features
allow better input control and validation.
0 Color : used for input fields that should contain a color.
0 Date : user to select a date.
0 Datetime : allows the user to select a date and time (withtimezone).
0 Email: used for input fields that should contain e-mail address.
0 File : used for upload files.
0 Range: used for input fields contain a value from a range of numbers.
0 Search: is used for search fields
0 Tel: Define a field for entering a telephone number
0 Time: allows the user to select a time.
0 Week: allows the user to select a week and year.
0 Url: used for input fields contain a URL address.
value of the url field is automatically validated when the form is submitted.
HTML5 New Form Elements
0HTML5 <datalist> Element
specifies a list of pre-defined options for an <input> element.
0 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.
0 Use the <input> element's list attribute to bind it together with a
<datalist> element.
0 <input list="browsers">
<datalist id="browsers">
<option value="Firefox">
<option value="Chrome">
<option value="Opera">
</datalist>
HTML5 New Form Elements
0 HTML5 <keygen> Element
0 The purpose of the <keygen> element is to provide a
secure way to authenticate users.
0 The <keygen> tag specifies a key-pair generator field
in a form.
0 When the form is submitted, two keys are generated,
one private and one public.
0 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 New Form Elements
0 The <output> element represents the result of a calculation
(like one performed by a script).
0 <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 New Form Attributes
New attributes for <form>:
0Autocomplete --- novalidate
New attributes for <input>:
0Autocomplete --- autofocus
0Form -- formaction -- formenctype(with post only)
0Formnovalidate -- formmethod -- formtarget
0height and width -- list -- min and max
0Multiple -- pattern (regexp) -- placeholder
0Required -- step
Thank You

Contenu connexe

Dernier

%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburgmasabamasaba
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durbanmasabamasaba
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 

Dernier (20)

%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 

En vedette

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

En vedette (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Best Introduction to HTML5 (please DOWNLOAD for notes)

  • 1.
  • 2. HTML Timeline 0 1995 : HTML 2.0 0 1997 :HTML 3.2 0 1998 : start the Web standards project 0 1999 : HTML 4.0 0 2000 : XHTML 1.0 0 2004 : WHATWG begins what become HTML5 0 2010 : HTML5 grows increased
  • 3. What Is HTML5 ?! 0 HTML5 will be the new standard for HTML. 0 HTML5 is still a work in progress. However, the major browsers support many of the new HTML5 elements and APIs.
  • 4. How Did HTML5 Get Started? 0 HTML5 is a cooperation between (W3C) and (WHATWG). 0 WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML. Some rules for HTML5 were established: 0 New features should be based on HTML, CSS, DOM,and JavaScript 0 Reduce the need for external plugins (like Flash). 0 Better error handling. 0 More markup to replace scripting. 0 HTML5 should be device independent. 0 The development process should be visible to the public.
  • 5. HTML5 – New Features Some of the most interesting new features in HTML5: 0 The <canvas> element for 2D drawing 0 The <video> and <audio> elements for media playback 0 Support for local storage 0 New content-specific elements, like <article>, <footer>, <header>, <nav>, <section> 0 New form controls, like calendar , date , time , email , url , search …….And More
  • 6. Interested…??So See those 0 The HTML5 <!DOCTYPE> To declare html5 doc it is very simple you just need to write: <!DOCTYPE html> 0 Simple HTML5 document <!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> The content of the document...... </body> </html>
  • 7. Browser Support for HTML5 0 HTML5 till now not official standard, and no browsers have full HTML5 support. 0 But all major browsers (Safari, Chrome, Firefox, Opera, Internet Explorer) continue to add new HTML5 features to their latest versions. 0 You Can Find very useful HTML5 Reference Here: http://www.w3schools.com/tags/default.asp
  • 8. What HTML5 Adds for US? 0 Today, several elements in HTML 4.01 are obsolete, never used, or not used the way they were intended. All those elements are removed or re-written in HTML5. 0 HTML5 also includes 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.
  • 9. New Media Elements Tag Description <audio> Defines sound content <video> Defines a video or movie <source> Defines multiple media resources for <video> and <audio> <embed> Defines a container for an external application or interactive content (a plug-in) <track> Defines text tracks for <video> and <audio>
  • 10. New Semantic/Structural Elements Tag Description <article> Defines an article <aside> Defines content aside from the page content <bdi> Isolates a part of text that might be formatted in a different direction from other text outside it <details> Defines additional details that the user can view or hide <summary> Defines a visible heading for a <details> element
  • 11. New Semantic/Structural Elements(Cont.) Tag Description <figure> Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc. <figcaption> Defines a caption for a <figure> element <footer> Defines a footer for a document or section <header> Defines a header for a document or section
  • 12. New Semantic/Structural Elements(Cont.) Tag Description <mark> Defines marked/highlighted text <meter> Defines a scalar measurement within a known range (a gauge) <nav> Defines navigation links <progress> Represents the progress of a task <section> Defines a section in a document such as chapter <time> Defines a date/time
  • 13. Removed Elements The following HTML 4.01 elements are removed from HTML5: 0 <acronym> 0 <applet> 0 <basefont> 0 <big> 0 <center> 0 <dir> 0 <font> 0 <frame> 0 <frameset> 0 <noframes> 0 <strike> 0 <tt>
  • 14. The New <canvas> Element 0 The <canvas> element is used to draw graphics, on the fly, on a web page. 0 Draw a red rectangle, a gradient rectangle, a multicolor rectangle, and some multicolor text onto the canvas: 0 The <canvas> element is only a container for graphics. You must use a script to actually draw the graphics. 0 Canvas has several methods for drawing paths, boxes, circles, characters, and adding images.
  • 15. The New <canvas> Element (Practical Perspective) Create a Canvas 0 A canvas is a rectangular area on an HTML page, and it is specified with the <canvas> element. The markup looks like this: <canvas id="myCanvas“ width="200" height="100"></canvas> 0 To add a border, use the style attribute: <canvas id="myCanvas“ style="border:1px solid #000000;"> 0 Browser Support IE9+, Firefox, Opera, Chrome, and Safari support <canvas> element.
  • 16. The New <canvas> Element (Practical Perspective Cont.) 0Draw Onto The Canvas With JavaScript All drawing on the canvas must be done inside a JavaScript: <script> var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); ctx.fillStyle="#FF0000"; ctx.fillRect(0,0,150,75); </script> Of course you can Do more with <canvas> if you interests visit http://www.w3schools.com/html/html5_canvas.asp
  • 17. HTML5 Inline SVG 0 First What is SVG? 0 SVG stands for Scalable Vector Graphics 0 SVG is used to define vector-based graphics for the Web 0 SVG defines the graphics in XML format 0 SVG graphics do NOT lose any quality if they are zoomed or resized 0 Every element and every attribute in SVG files can be animated 0 SVG is a W3C recommendation Browser Support IE9+, Firefox, Opera, Chrome, and Safari support inline SVG.
  • 18. Differences Between SVG and Canvas 0 SVG is a language for describing 2D graphics in XML. 0 Canvas draws 2D graphics, on the fly (with a JavaScript). 0 SVG is XML based, which means that every element is available within the SVG DOM. You can attach JavaScript event handlers for an element. 0 In SVG, each drawn shape is remembered as an object. If attributes of an SVG object are changed, the browser can automatically re-render the shape. 0 Canvas is rendered pixel by pixel. In canvas, once the graphic is drawn, it is forgotten by the browser. If its position should be changed, the entire scene needs to be redrawn, including any objects that might have been covered by the graphic.
  • 19. HTML5 Drag and Drop 0 In HTML5, drag and drop is part of the standard, and any element can be draggable. Browser Support IE9+, Firefox, Opera, Chrome, and Safari support drag and drop. In Next Slide You Will Find an Example with Explanation
  • 20.
  • 21. HTML5 Geolocation 0 The HTML5 Geolocation API is used to get the geographical position of a user.
  • 22. 0Displaying the Result in a Map function showPosition(position) { var latlon=position.coords.latitude+","+position.coords.longitude; var img_url="http://maps.googleapis.com/maps/api/staticmap?center=" +latlon+"&zoom=14&size=400x300&sensor=false"; document.getElementById("mapholder").innerHTML= "<img src='"+img_url+"'>"; } 0 To display the result in a map, you need access to a map service that can use latitude and longitude, like Google Maps. 0 In the example above we use the returned latitude and longitude data to show the location in a Google map (using a static image). For More Info Visit : http://www.w3schools.com/html/html5_geolocation.asp
  • 23. HTML5 Video 0 Until now, ‘s No a standard for showing a video/movie on a web page. 0 Today, most videos are shown through a plug-in (like flash). However, different browsers may have different plug-ins. 0 HTML5 defines a new element which specifies a standard way to embed a video/movie on a web page: the <video> element. 0 Browser Support IE9+, Firefox, Opera, Chrome, and Safari support the <video> element.
  • 24. HTML5 Video (example) 0 <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video>
  • 25. HTML5 Audio 0 Until now, there’s No standard for playing audio files on a web page. 0 Today, most audio files are played through a plug-in (like flash). However, different browsers may have different plug-ins. 0 HTML5 defines a new element which specifies a standard way to embed an audio file on a web page: the <audio> element. 0 Browser Support IE9+, Firefox, Opera, Chrome, and Safari support the <audio> element.
  • 26. HTML5 Audio (example) 0 <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio>
  • 27. HTML5 Input Types HTML5 has several new input types for forms. These new features allow better input control and validation. 0 Color : used for input fields that should contain a color. 0 Date : user to select a date. 0 Datetime : allows the user to select a date and time (withtimezone). 0 Email: used for input fields that should contain e-mail address. 0 File : used for upload files. 0 Range: used for input fields contain a value from a range of numbers. 0 Search: is used for search fields 0 Tel: Define a field for entering a telephone number 0 Time: allows the user to select a time. 0 Week: allows the user to select a week and year. 0 Url: used for input fields contain a URL address. value of the url field is automatically validated when the form is submitted.
  • 28. HTML5 New Form Elements 0HTML5 <datalist> Element specifies a list of pre-defined options for an <input> element. 0 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. 0 Use the <input> element's list attribute to bind it together with a <datalist> element. 0 <input list="browsers"> <datalist id="browsers"> <option value="Firefox"> <option value="Chrome"> <option value="Opera"> </datalist>
  • 29. HTML5 New Form Elements 0 HTML5 <keygen> Element 0 The purpose of the <keygen> element is to provide a secure way to authenticate users. 0 The <keygen> tag specifies a key-pair generator field in a form. 0 When the form is submitted, two keys are generated, one private and one public. 0 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.
  • 30. HTML5 New Form Elements 0 The <output> element represents the result of a calculation (like one performed by a script). 0 <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>
  • 31. HTML5 New Form Attributes New attributes for <form>: 0Autocomplete --- novalidate New attributes for <input>: 0Autocomplete --- autofocus 0Form -- formaction -- formenctype(with post only) 0Formnovalidate -- formmethod -- formtarget 0height and width -- list -- min and max 0Multiple -- pattern (regexp) -- placeholder 0Required -- step

Notes de l'éditeur

  1. (WHATWG) Stand For the Web Hypertext Application Technology Working Group (W3C) stand for the World Wide Web Consortium
  2. Note: By default, the <canvas> element has no border and no content. Note: Always specify an id attribute (to be referred to in a script), and a width and height attribute to define the size of the canvas. Tip: You can have multiple <canvas> elements on one HTML page
  3. Example’s Explanation: First, find the <canvas> element: var c=document.getElementById("myCanvas"); Then, call its getContext() method (you must pass the string "2d" to the getContext() method): var ctx=c.getContext("2d"); The getContext("2d") object is a built-in HTML5 object, with many properties and methods for drawing paths, boxes, circles, text, images, and more. The next two lines draw a red rectangle: ctx.fillStyle="#FF0000"; ctx.fillRect(0,0,150,75); The fillStyle property can be a CSS color, a gradient, or a pattern. The default fillStyle is #000000 (black). The fillRect(x,y,width,height) method draws a rectangle filled with the current fill style. Canvas Coordinates The canvas is a two-dimensional grid. The upper-left corner of the canvas has coordinate (0,0) So, the fillRect() method above had the parameters (0,0,150,75). This means: Start at the upper-left corner (0,0) and draw a 150x75 pixels rectangle.
  4. SVG Advantages Advantages of using SVG over other image formats (like JPEG and GIF) are: SVG images can be created and edited with any text editor SVG images can be searched, indexed, scripted, and compressed SVG images are scalable SVG images can be printed with high quality at any resolution SVG images are zoomable (and the image can be zoomed without degradation)
  5. Code Explanation: Call preventDefault() to prevent the browser default handling of the data (default is open as link on drop) Get the dragged data with the dataTransfer.getData("Text") method. This method will return any data that was set to the same type in the setData() method The dragged data is the id of the dragged element ("drag1") Append the dragged element into the drop element
  6. Note: Geolocation is much more accurate for devices with GPS, like iPhone. Browser Support :IE9+, Firefox, Chrome, Safari and Opera support Geolocation. Example Explanation: Check if Geolocation is supported If supported, run the getCurrentPosition() method. If not, display a message to the user If the getCurrentPosition() method is successful, it returns a coordinates object to the function specified in the parameter ( showPosition ) The showPosition() function gets the displays the Latitude and Longitude
  7. The control attribute adds video controls, like play, pause, and volume. It is also a good idea to always include width and height attributes. If height and width are set, the space required for the video is reserved when the page is loaded. However, without these attributes, the browser does not know the size of the video, and cannot reserve the appropriate space to it. The effect will be that the page layout will change during loading (while the video loads). You should also insert text content between the <video> and </video> tags for browsers that do not support the <video> element. The <video> element allows multiple <source> elements. <source> elements can link to different video files. The browser will use the first recognized format.
  8. The control attribute adds audio controls, like play, pause, and volume. You should also insert text content between the <audio> and </audio> tags for browsers that do not support the <audio> element. The <audio> element allows multiple <source> elements. <source> elements can link to different audio files. The browser will use the first recognized format.