Table of contents
- 1. HTML
- 1.1. Audio and video
- 1.2. Canvas
- 1.3. WebGL (separate specification)
- 1.4. Inline SVG and MathML
- 1.5. New link relations
- 1.6. Web forms
- 1.7. Microformats (separate specification)
- 1.8. Semantic tags
- 2. JavaScript (separate specifications)
- 2.1. Client-Side Storage
- 2.2. IndexedDB
- 2.3. Web workers (separate specification)
- 2.4. New events
- 2.5. Drag and drop
- 2.6. Protocol handler
- 2.7. Geolocation
- 2.8. Focus attributes
- 3. CSS (separate specifications)
- 3.1. New CSS selectors
- 3.2. Typography
- 3.3. Layout
- 3.4. Visual
- 3.5. Dynamic effects
This page provides links to topics related to HTML Version 5 (HTML5). Some topics are commonly associated with HTML5 but are not actually part of the HTML5 standard. Those topics are linked here for convenience.
Firefox 3.5 introduced support for the HTML 5
<audio> and <video> elements, offering the ability to easily embed media into HTML documents.<Canvas> is a new HTML element which can be used to draw graphics via scripting (usually JavaScript). For example, it can be used to draw graphs, make photo compositions or even perform animations.
- element
- Canvas tutorial
(separate specification)
WebGL brings 3D graphics to the Web by introducing an API that closely conforms to OpenGL ES 2.0 and can be used in HTML5
<canvas>
elements.HTML5 parsing liberates MathML and SVG from XML and makes them available in the main file format of the Web.
Link relations complement the <a> tag and specify why you're pointing to another page.
Reference:
Form elements and attributes in HTML5 provide a greater degree of semantic mark-up than HTML4 and remove a great deal of the need for tedious scripting and styling that was required in HTML4.
Microformats allow web sites to provide semantic data to the browser in order to make it possible to present summaries of the information on a page without having to know how to parse the document itself.
Reference:
See also: http://www.microformats.org
(separate specifications)
Firefox supports the HTML 5 specification for offline caching of web applications' resources and offline storage of data.
Reference:
IndexedDB is an evolving web standard for the storage of significant amounts of structured data in the browser and for high performance searches on this data using indexes.
Reference: IndexedDB
Workers provide a simple means for web content to run scripts in background threads. Once created, a worker can send messages to the spawning task by posting messages to an event handler specified by the creator.
In order to build a good offline-capable web application, you need to know when your application is actually offline. Incidentally, you also need to know when your application has returned to an online status again.
Firefox and other Mozilla applications support a number of features for handling drag and drop. This allows you the user to click and hold the mouse button down over an element, drag it to another location, and release the mouse button to drop the element there.
Reference:
It's fairly common to find web pages link to resources using non-http protocols. You can think of this as a desktop-based protocol handler.
Reference:
Geolocation
The Geolocation API allows the user to provide their location to web applications if they so desire. For privacy reasons, the user is asked to confirm permission to report location information.
The focus atributes let a script understand if an element has the focus of the user and then act accordingly.
(separate specifications)
The following page shows the CSS3 support in Firefox and the new elements for HTML5.
Typography
The following pages show some of the typography attributes introduced by CSS3.
Text wrap:
Dynamic effects
CSS also introduces dynamic effects:
Mozilla Developer Network