You can use Hypertext Markup Language (HTML) in conjunction with other web content technologies to deploy cross-platform media-rich interactive content to a variety of sources. HTML documents—which can be anything from a textual product description to a photo library to an interactive form—can be read by web browsers on every common platform, displayed and interacted with on portable digital devices, and integrated into WebKit-based applications in Mac OS X, along with a variety of other technologies.
This document details every HTML tag and property supported by WebKit and Safari on all platforms, which include Mac OS X, iPhone OS, and Windows. You should read this if you are developing web content that will be displayed in Safari or within a WebKit-based application.
Note: When used to describe the platform availability of a particular element or attribute, “Safari” in this document refers to Safari in Mac OS X and Windows. Elsewhere, “Safari” refers to Safari on any platform.
The following articles describe key aspects of Safari's HTML support:
“Explanation of Terms” explains terminology used in this reference.
“Supported HTML” describes all the HTML elements supported by Safari. This includes standard tags (as defined by the World Wide Web Consortium, or W3C), common tags that are not part of a standard, and Apple extensions.
“Supported Attributes” describes the HTML attributes supported by Safari.
“Input Values and Additional Meta Tags” describes supported types for the input tag and additional keys for the meta tag.
Last updated: 2008-11-12