Introduction
This document details every HTML element and property supported by WebKit and Safari on all platforms, which include Mac OS X, iOS, and Windows. You should read this if you are developing web content that will be displayed in Safari or within a WebKit-based application.
This document is not intended as a comprehensive specification. The HTML5 specification is available at http://dev.w3.org/html5/spec/Overview.html.
Organization of This Document
The following articles describe key aspects of Safari HTML support:
Explanation of Terms explains terminology used in this reference.
Supported HTML describes all the HTML elements supported by Safari. This includes standard elements (as defined by the World Wide Web Consortium, or W3C), common elements that are not part of a standard, and Apple extensions.
Supported Attributes describes the HTML attributes supported by Safari.
Supported Input Values describes supported types for the
input
element.Supported Meta Tags describes additional keys for the
meta
element.Supported Accessibility Roles describes supported accessibility roles defined in the WAI-ARIA specification.
See Also
You'll find a variety of other resources for Safari web content developers in the Safari Developer Library.
If you are creating web content for Safari platforms, then you should read:
Safari Web Content Guide, which describes how to create content that is compatible with, optimized for, and customized for Safari on any platform.
If you are designing web content for Safari on iOS, then you should also read:
iOS Human Interface Guidelines, which provides user interface guidelines for designing webpages and web applications for Safari on iOS.
Apple URL Scheme Reference, which describes how to use the Phone, Mail, Text, YouTube, iTunes, and Maps applications from your webpages.
If you want to learn more about visual effects, then you should read:
Safari CSS Visual Effects Guide, which describes how to use the CSS visual effects properties—the transition, animation, and transforms properties. It also covers the JavaScript APIs for handling visual effects events.
If you want to learn more about the JavaScript multitouch event support, then you should read:
Safari DOM Additions Reference, which describes the touch event classes that you use to handle multitouch gestures in JavaScript.
If you want to use the JavaScript media APIs, then you should read:
Safari HTML5 Audio and Video Guide, which describes how to use the HTML5 audio and video elements.
If you want to learn more about which Cascading Style Sheets (CSS) properties are supported in Safari, then read:
Safari CSS Reference, which describes the CSS properties supported by Safari and WebKit applications.
If you are using JavaScript and want access to the DOM or use the canvas object, then read:
WebKit DOM Programming Topics, which describes how to use JavaScript in web content for WebKit-based applications.
Safari HTML5 Canvas Guide, which provides information about the
canvas
HTML5 element.
If you are developing web content for Safari on the desktop and iOS, then you should read:
Safari Web Inspector Guide, which describes how to use the Debug menu in Safari.
Dashcode User Guide, which describes how to use Dashcode to create web applications.
If you want to learn more about WebKit or contribute to the open source project, then go to The WebKit Open Source Project.
If you want to read the WebKit W3C proposals, then go to: http://www.webkit.org/specs.
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-07-15