最終更新:2012-05-21 (月) 11:11:25 (3005d)  

Safari Web Content Guide
Top / Safari Web Content Guide

http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/Introduction/Introduction.html


このPDFへのリンク

関連

Organization of This Document

This chapter covers important information that you should read first:

  • Creating Compatible Web Content? provides guidelines for creating web content that is compatible with Safari on the desktop and Safari on iOS.

This chapter covers the first steps you need to follow to optimize web content for Safari:

  • Optimizing Web Content? describes how to detect Safari on different platforms and use conditional Cascading Style Sheets (CSS) so that you can begin optimizing web content for iOS.

These chapters describe different ways to optimize web content for iOS:

  • Configuring the Viewport? explains how to use the viewport tag to control the layout of your webpages.
  • Customizing Style Sheets? covers how to adjust the text size when zooming and how to control highlighting using CSS.
  • Designing Forms? explains how to lay out forms, design custom form controls, and turn auto correction and capitalization on and off.
  • Handling Events? provides information on what events you can handle in JavaScript. This chapter describes how to create video content for multiple platforms:
  • Creating Video? explains how to create video content for playback on iOS in general, including video content embedded in your webpages.

This chapter covers information on how to store data locally:

  • Storing Data on the Client? describes how to use the HTML5 application cache for storing resources locally.

This chapter covers information on how to debug web content:

  • Debugging? describes the Safari on iOS console which you use to help test and debug your webpages.

If you are new to web development, read these appendixes that provide introductions to HTML and CSS:

  • HTML Basics? provides an overview on how to create structured HTML web content. “CSS Basics” describes how to add style sheets to existing HTML web content.

See Also

There are a variety of other resources for Safari web content developers in the ADC Reference Library.

If you are creating an iOS web application, then you should also read:

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 including the transition, animation, and transforms properties. It also covers the JavaScript APIs for handling visual effects events.

If you want to embed video and audio in your webpages read:

If you want to learn more about JavaScript multi-touch event support, then you should read:

  • Safari DOM Additions Reference?, which describes DOM extensions including touch event classes that you use to handle multi-touch gestures in JavaScript on iOS.

If you want to learn more about JavaScript database support, then you should read:

  • Safari Client-Side Storage and Offline Applications Programming Guide?, which describes a simple relational database that you can use to store persistent data in JavaScript that cannot be stored in cookies.

If you want to use the JavaScript media APIs, then you should read:

  • JavaScript Scripting Guide for QuickTime?, which describes how to use JavaScript to query and control the QuickTime plug-in directly.

If you want to learn more about what HyperText? Markup Language (HTML) tags and Cascading Style Sheets (CSS) properties are supported in Safari, then read:

  • Safari HTML Reference?, which describes the HTML elements and attributes supported by various Safari and WebKit applications.
  • Safari CSS Reference?, which describes the CSS properties supported by various 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.
  • WebKit DOM Reference, which describes the API for accessing WebKit's Document Object Model.

If you are developing web content for Safari on the desktop and iOS, then you should read:

  • Safari Developer Tools 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 embed a browser in your iOS application, then read:

  • UIWebView Class Reference? for a description of the UIWebView class. 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.