HTML5 is the new standard for HTML that includes new semantic elements, forms, media playback, and graphics capabilities. It is being developed cooperatively by the W3C and WHATWG to address changes on the web since the previous HTML 4.01 standard from 1999. Key new features include the canvas element for 2D drawing, video and audio elements, improved form controls like date pickers, and local storage capabilities. While still a work in progress, many modern browsers already support important HTML5 features through various specifications.
This is a brief introduction about HTML5. You will learn that what is new in HTML5. I will tell what and when changes happened in HTML which Hyper Text markup language. Html is a language which is used to create web pages that we have seen on the internet. For website development and web hosting visit https://tekfold.com
HTML5 Tutorial For Beginners - Learning HTML 5 in simple and easy steps with examples covering 2D Canvas, Audio, Video, New Semantic Elements, Geolocation, Persistent Local Storage, Web Storage, Forms Elements,Application Cache,Inline SVG,Document
HTML5 Web Storage is a way for web pages to store named key/value pairs locally, within the client web browser. Like cookies, this data persists even after you navigate away from the web site, close your browser tab, exit your browser, or what have you. Unlike cookies, this data is never transmitted to the remote web server (unless you go out of your way to send it manually). Unlike all previous attempts at providing persistent local storage, it is implemented natively in web browsers.
JavaScript - An Introduction is a beginner's guide to JavaScript. It starts with very basic level and goes to intermediate level. You'll be introduced with every language constructs, Event handling, Form handling and AJAX which is supported by JavaScript with XMLHttpRequest object. This XHR object is discussed in enough detail so that you can understand how the underlying AJAX functionality works in jQuery. At the end it discusses advance concepts and library build on/around JavaScript.
This is a brief introduction about HTML5. You will learn that what is new in HTML5. I will tell what and when changes happened in HTML which Hyper Text markup language. Html is a language which is used to create web pages that we have seen on the internet. For website development and web hosting visit https://tekfold.com
HTML5 Tutorial For Beginners - Learning HTML 5 in simple and easy steps with examples covering 2D Canvas, Audio, Video, New Semantic Elements, Geolocation, Persistent Local Storage, Web Storage, Forms Elements,Application Cache,Inline SVG,Document
HTML5 Web Storage is a way for web pages to store named key/value pairs locally, within the client web browser. Like cookies, this data persists even after you navigate away from the web site, close your browser tab, exit your browser, or what have you. Unlike cookies, this data is never transmitted to the remote web server (unless you go out of your way to send it manually). Unlike all previous attempts at providing persistent local storage, it is implemented natively in web browsers.
JavaScript - An Introduction is a beginner's guide to JavaScript. It starts with very basic level and goes to intermediate level. You'll be introduced with every language constructs, Event handling, Form handling and AJAX which is supported by JavaScript with XMLHttpRequest object. This XHR object is discussed in enough detail so that you can understand how the underlying AJAX functionality works in jQuery. At the end it discusses advance concepts and library build on/around JavaScript.
about this presentation:
1) this presentation was a quickie for non-tech employees, who wanted a basic understanding of html/css, as it related to a white-label SAAS product;
2) the back-end/front-end definitions relate to the specific application (it's inaccurate if node.js is in the picture)
80% of the end-user response time is spent on the front-end. (YSlow Team)
By following these best practices we can have a great impact over the performance of our sites and applications.
In these slides we will go through some best practices related to performance, semantics & accessibility and patterns for better maintainability and readability which is gold when collaborating.
In the second part of the slideshow we will share some tips on how to pick the best layout available, create the slices with optimization in mind, master the basics and stay organized form the beginning with your CSS code.
JavaScript is lingua franca of the Web. It's pervasive and since 1999 a standard ( ECMAScript 262). Yes, there are other technologies you can use: Flash, Java Applets, Dart, but none of these have the overwhelming support and community that JavaScript does. Over the years it has been maligned as a poorly designed language but I will argue that it has just been misunderstood. This talk will focus on the fundamentals of the language and its integration with the browser, the DOM and server communication via JSON and Ajax.
In the talk Bryan will present:
* Language fundamentals
* Object-Oriented programming
* Functional programming
* DOM APIs
* Event model
* Odds and ends
This presentation is an introduction to the new features of
HTML5. The main elements of this document are:
* Brief history of HTML5
*The improvements
* Browser support
* Semantic elements
* Content Editable on pages
* Video Tag
* Canvas tag
* Local storage
* Geolocation API
* Offline applications
* Microdata
* Use cases
about this presentation:
1) this presentation was a quickie for non-tech employees, who wanted a basic understanding of html/css, as it related to a white-label SAAS product;
2) the back-end/front-end definitions relate to the specific application (it's inaccurate if node.js is in the picture)
80% of the end-user response time is spent on the front-end. (YSlow Team)
By following these best practices we can have a great impact over the performance of our sites and applications.
In these slides we will go through some best practices related to performance, semantics & accessibility and patterns for better maintainability and readability which is gold when collaborating.
In the second part of the slideshow we will share some tips on how to pick the best layout available, create the slices with optimization in mind, master the basics and stay organized form the beginning with your CSS code.
JavaScript is lingua franca of the Web. It's pervasive and since 1999 a standard ( ECMAScript 262). Yes, there are other technologies you can use: Flash, Java Applets, Dart, but none of these have the overwhelming support and community that JavaScript does. Over the years it has been maligned as a poorly designed language but I will argue that it has just been misunderstood. This talk will focus on the fundamentals of the language and its integration with the browser, the DOM and server communication via JSON and Ajax.
In the talk Bryan will present:
* Language fundamentals
* Object-Oriented programming
* Functional programming
* DOM APIs
* Event model
* Odds and ends
This presentation is an introduction to the new features of
HTML5. The main elements of this document are:
* Brief history of HTML5
*The improvements
* Browser support
* Semantic elements
* Content Editable on pages
* Video Tag
* Canvas tag
* Local storage
* Geolocation API
* Offline applications
* Microdata
* Use cases
Tiếp nối thành công hàng loạt chuỗi căn hộ tầm trung, đáp ứng nhu cầu thực về nhà ở của khách hàng. Công ty CP Tổ Chức Nhà Quốc Gia N.H.O – Hàn Quốc đã tiếp tục cho ra một dòng sản phẩm mới là Căn hộ Sài Gòn Metro Park – Thủ Đức với thiết kế hiện đại thông minh tinh tế của Hàn Quốc ,Căn hộ Sài Gòn Metro Park đa dạng về diện tích và có giá cạnh tranh nhất trong khu vực chỉ với 650 triệu/ căn.
Challenges in non Ebola healthcare facilities during an EVD outbreakGOAL Global
Together with Médecins Sans Frontières and the World Health Organisation, we hosting a two day conference on the global response to Ebola. By pulling together and sharing the collective knowledge, we're working hard to ensure that, as a team, we have a head start on any future epidemics
This presentation was by Dr. Marta Lado
HTML5 is the fifth revision and newest version of the HTML standard. It offers new features that provide not only rich media support, but also enhance support for creating web applications that can interact with the user, his/her local data, and servers, more easily and effectively than was possible previously.
Web Visualization with HTML5, CSS3, and JavaScript is the course with the rapidly changing web development technologies, it has become important to stay in line with them to progress within the industry, which is why this course in web virtualization has been brought to you to spruce up your web designing and animating skills using HTML5, CSS3, and JavaScript. The latest features of HTML5, CSS3 and JavaScript are set to be provided to you through this course, hence, it is desired that you have basic knowledge on these programming languages for a smoother learning experience. This course will start off by walking you through the CSS3 virtualization techniques to design and animate webs. You will be taught how to create a 3D element using CSS transition and to transform animates into 2D and 3D, along with an insight into the elements of scalable vector graphics which is needed to create basic images and polygons and to animate. Our tutors will further take you through the canvas aspects of HTML5 to start drawing grids and animations using it. You will also get to learn how to create a callback and create and activate a queue that is needed in animating and the animation libraries that will be essential to your web designing projects. By the end of this course, you will have an outstanding knowledge of web visualization using HTML5, CSS3, and JavaScript to secure yourself a prominent place within the web development industry.
C# Corner Delhi Chapter announces its first monthly chapter meet for students.
On 20th September, prepare yourself for Industries, Interviews and Learn HTML5
http://www.c-sharpcorner.com/Events/104/delhi-students-day-prepare-yourself-for-industries-interv.aspx
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Html5
1.
2. HTML5: What is it?HTML5: What is it?
HTML5 will be the new standard for HTML,
XHTML, and the HTML DOM.
The previous version of HTML came in 1999.
The web has changed a lot since then.
HTML5 is still a work in progress. However,
most modern browsers have some HTML5
support.
3. HTML5: OriginsHTML5: Origins
HTML5 is a cooperation between the World
Wide Web Consortium (W3C) and the Web
Hypertext Application Technology Working
Group (WHATWG).
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.
4. HTML5: Ground rulesHTML5: Ground rules
Some rules for HTML5 were established:
New features should be based on HTML,
CSS, DOM, and JavaScript
Reduce the need for external plugins
Better error handling
More markup to replace scripting
HTML5 should be device independent
Dev process should be visible to the public
5. HTML5: New FeaturesHTML5: New Features
Canvas element for drawing
Video/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, search
7. HTML5: SupportHTML5: Support
You may well ask: “How can I start using
HTML5 if older browsers don’t support it?” But
the question itself is misleading.
HTML5 is not one big thing; it is a collection of
individual features. You can only detect
support for individual features, like canvas,
video, or geolocation.
8. HTML5: SupportHTML5: Support
Love it or hate it, you can’t deny that HTML 4
is the most successful markup format ever.
HTML5 builds on that success.
You don’t need to throw away your existing
markup. You don’t need to relearn things you
already know. If your web application worked
yesterday in HTML 4, it will still work today in
HTML5. Period.
9. HTML5: ExampleHTML5: Example
HTML5 supports all the form controls from
HTML 4, but it also includes new input
controls. Some of these are long-overdue
additions like sliders and date pickers; others
are more subtle...
10. HTML5: ExampleHTML5: Example
For example, the email input type looks just
like a text box, but mobile browsers will
customize their onscreen keyboard to make it
easier to type email addresses. Older
browsers that don’t support the email input
type will treat it as a regular text field, and the
form still works with no markup changes or
scripting hacks.
11. HTML5: DOCTYPEHTML5: DOCTYPE
Remember our old friend, the DOCTYPE?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
12. HTML: DOCTYPEHTML: DOCTYPE
Previous versions of HTML defined a lot of
doctypes, and choosing the right one could
be tricky. In HTML5, there is only one
doctype:
<!DOCTYPE html>
13. HTML: SupportHTML: Support
Whether you want to draw on a canvas, play
video, design better forms, or build web
applications that work offline, you’ll find that
HTML5 is already well-supported.
14. HTML: SupportHTML: Support
Firefox, Safari, Chrome, Opera, and mobile
browsers already support canvas, video,
geolocation, local storage, and more. Google
already supports microdata annotations. Even
Microsoft — rarely known for blazing the trail
of standards support — will be supporting
most HTML5 features in the upcoming
Internet Explorer 9.
15. HTML5: MIME typesHTML5: MIME types
Every time your web browser requests a
page, the web server sends “headers” before
it sends the actual page markup. Headers
are important, because they tell your browser
how to interpret the page markup that
follows.
Multipurpose Internet Mail Extensions
16. HTML5: MIME typesHTML5: MIME types
The most important header is
called Content-Type, and it
looks like this:
Content-Type: text/html
“text/html” is called the “content
type” or “MIME type” of the
page.
17. HTML5: MIME typesHTML5: MIME types
This header is the only thing that determines
what a particular resource truly is, and
therefore how it should be rendered. Images
have their own MIME types (image/jpeg for
JPEG images, image/png for PNG images,
and so on). JavaScript files have their own
MIME type. CSS stylesheets have their own
MIME type. Everything has its own MIME
type. The web runs on MIME types.
18. HTML5: DetectionHTML5: Detection
When your browser renders a web page, it
constructs a Document Object Model, a
collection of objects that represent the HTML
elements on the page. Every element is
represented in the DOM by a different object.
In browsers that support HTML5 features,
certain objects will have unique properties. A
quick peek at the DOM will tell you which
features are supported.
19. HTML5: DetectionHTML5: Detection
[Modernizr] is an open source, MIT-licensed
JavaScript library that detects support for
many HTML5 & CSS3 features. To use it,
include the following <script> element at the
top of your page...
21. HTML5: DetectionHTML5: Detection
Modernizr runs automatically. When it runs, it
creates a global object called Modernizr, that
contains a set of Boolean properties for each
feature it can detect. For example, if your
browser supports the canvas API, the
Modernizr.canvas property will be true –
otherwise the property will be false:
22. HTML5: DetectionHTML5: Detection
if (Modernizr.canvas) {
// let's draw some shapes!
} else {
// no native canvas support available :(
}
More on HTML5 detection (and Modernizr)
here: http://diveintohtml5.org/detect.html
23. HTML5: What's NewHTML5: What's New
The internet has changed a lot since HTML 4.01
became a standard in 1999.
Today, some elements in HTML 4.01 are obsolete,
never used, or not used the way they were intended
to. These elements are deleted or re-written in
HTML5.
HTML5 also includes new elements for better
structure, drawing, media content, form handling.
26. HTML5: VideoHTML5: Video
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.
28. HTML5: VideoHTML5: Video
<!DOCTYPE HTML>
<html>
<body>
<video src="movie.ogg" width="320" height="240"
controls="controls">
Your browser does not support the video tag.
</video>
</body>
</html>
29. HTML5: VideoHTML5: Video
The last example uses an Ogg file, and will work in
Firefox, Opera and Chrome.
To make the video work in Safari and future
versions of Chrome, we must add a MPEG4 and
WebM file.
The video element allows multiple source elements.
Source elements can link to different video files. The
browser will use the first recognized format:
30. HTML5: VideoHTML5: Video
<video width="320" height="240"
controls="controls">
<source src="movie.ogg" type="video/ogg" />
<source src="movie.mp4" type="video/mp4" />
<source src="movie.webm" type="video/webm" />
Your browser does not support the video tag.
</video>
31. HTML5: VideoHTML5: Video
Surprising fact: Internet Explorer 8 does not
support the video element. In IE 9, there will
be support for video element using MPEG4.
33. HTML5: AudioHTML5: Audio
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.
35. HTML5: AudioHTML5: Audio
<!DOCTYPE HTML>
<html>
<body>
<audio src="song.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
</body>
</html>
36. HTML5: AudioHTML5: Audio
The last example uses an Ogg file, and will
work in Firefox, Opera and Chrome.
To make the audio work in Safari, the audio
file must be of type MP3 or Wav.
The audio element allows multiple source
elements. Source elements can link to
different audio files. The browser will use the
first recognized format
37. HTML5: AudioHTML5: Audio
<audio controls="controls">
<source src="song.ogg" type="audio/ogg" />
<source src="song.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>
38. HTML5: AudioHTML5: Audio
Another surprising fact: Internet Explorer 8
does not support the audio element. In IE 9,
there will be support for audio element.
40. HTML5: CanvasHTML5: Canvas
The HTML5 canvas element uses JavaScript
to draw graphics on a web page.
A canvas is a rectangular area, and you
control every pixel of it.
The canvas element has several methods for
drawing paths, boxes, circles, characters, and
adding images.
41. HTML5: CanvasHTML5: Canvas
Adding a canvas element to the HTML5 page.
Specify the id, width, height of the element:
<canvas id="myCanvas" width="200"
height="100"></canvas>
42. HTML5: CanvasHTML5: Canvas
The canvas element has no drawing abilities of its
own. All drawing must be done inside a JavaScript:
<script type="text/javascript">
var c=document.getElementById("myCanvas");
var cxt=c.getContext("2d");
cxt.fillStyle="#FF0000";
cxt.fillRect(0,0,150,75);
</script>
Visit the sandbox >>
43. HTML5: Web StorageHTML5: Web Storage
For information about web storage:
http://www.w3schools.com/html5/
44. HTML5: Input typesHTML5: Input types
HTML5 has several new input types for forms.
* email
* url
* number
* range
* date pickers (date, month, week, time,
datetime, datetime-local)
* search
* color
45. HTML5: Input typesHTML5: Input types
Note: Opera has the best support for the new input
types. However, you can already start using them in
all major browsers. If they are not supported, they
will behave as regular text fields.
46. HTML5: Input - e-mailHTML5: Input - e-mail
The email type is used for input fields that should
contain an e-mail address.
The value of the email field is automatically
validated when the form is submitted.
E-mail: <input type="email" name="user_email" />
Tip: Safari on the iPhone recognizes the email input
type, and changes the on-screen keyboard to match
it (adds @ and .com options).
47. HTML5: Input - urlHTML5: Input - url
The url type is used for input fields that should
contain a URL address.
The value of the url field is automatically validated
when the form is submitted.
Homepage: <input type="url" name="user_url" />
Tip: Safari on the iPhone recognizes the url input
type, and changes the on-screen keyboard to match
it (adds .com option).
48. HTML5: Input - numberHTML5: Input - number
The number type is used for input fields that should
contain a numeric value.
Set restrictions on what numbers are accepted:
Points: <input type="number" name="points"
min="1" max="10" />
49. HTML5: Input - rangeHTML5: Input - range
The range type is used for input fields that should
contain a value from a range of numbers.
The range type is displayed as a slider bar.
You can also set restrictions on what numbers are
accepted:
<input type="range" name="points" min="1"
max="10" />
50. HTML5: Input – date pickersHTML5: Input – date pickers
HTML5 has several new input types for selecting
date and time:
* date - Selects date, month and year
* month - Selects month and year
* week - Selects week and year
* time - Selects time (hour and minute)
* datetime - Selects time, date, month and year
* datetime-local - Selects time, date, month and
year (local time)
51. HTML5: Input - searchHTML5: Input - search
The search type is used for search fields, like
a site search, or Google search.
The search field behaves like a regular text
field.
52. HTML5: Input – color pickerHTML5: Input – color picker
The color type is used for input fields that
should contain a color.
This input type will allow you to select a color
from a color picker:
Color: <input type="color" name="user_color" />
53. HTML5: Input - formHTML5: Input - form
HTML5 has several new elements and
attributes for forms.
* datalist
* keygen
* output
54. HTML5: Form elementsHTML5: Form elements
The datalist element specifies a list of options for an
input field. The list is created with option elements
inside the datalist.
The purpose of the keygen element is to provide a
secure way to authenticate users.
The output element is used for different types of
output, like calculations or script output: