Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Internet & Web
Web Content

The Macintosh platform has always been ideal for content creators of all types, but it is particularly so for web content developers — and Mac OS X is the best web development platform yet. Key reasons for this include the stability of Unix and support of web standards and open source tools, plus the powerful graphics capabilities, ease of use, and variety of content creation applications available.

This page provides a wide variety of resources on topics and technologies related to web content creation and presentation, including best practices, accessibility regulations, cross-browser animation with DHTML, sizing fonts and elements with CSS, generating HTML with DOM-2, and working with events and dynamic forms.

Web Content Articles

Dynamic HTML and XML: Using the XmlHttpRequest Object

Safari now supports the XMLHttpRequest object. Learn how to use it to fetch, store and access XML data for use as web content.

Using the Web Kit for Application Registration

You can use the Web Kit to handle an application’s online registration. This article shows you how to add the features you need, and provides source code for the registation back end

Web Page Development: Best Practices

Safari complies with standards, but not all browsers do. This article explains how to design, modify and validate your website so that it can be rendered and read properly by all major browsers.

Remote Scripting with IFRAME

Examples on how to use JavaScript and IFRAME for remote scripting. Examples include scripts that return data from a simple database of static HTML files.

XML Transformations with CSS and DOM

Explore Mozilla’s ability to render XML in the browser with CSS and JavaScript.

Fonts

CSS can give you much better control of fonts throughout your web projects.

Vertical Sizing in CSS

This article covers vertical sizing and shows how to determine the height of elements with CSS.

Horizontal Sizing in CSS

Along with height, CSS uses width to control the layout of page elements.

Accessibility and Section 508

This article covers accessability and the requirements of section 508 of the Workforce Investment Act of 1998.

Cross Browser Animation

Explore several animation techniques using JavaScript. Packed with examples, this article covers what to expect from your animations in various browsers.

Dynamic Forms with DHTML

Overcome the most common problems with online forms by making them more responsive to the visitor with DHTML.

Object Detection

Tips on using object detection rather than browser version sniffing.

Supporting Three Event Models

How to support three different event models at the same time.

DOM-2 Part II

More information on using the DOM’s node interface.

DOM-2 Part I

Creating dynamic content with DOM level 2.

Form Validation

Client side validation of form data.

Modifying Styles

Use these scripts to change styles on the fly.

Plug-ins Detection

JavaScript for determining which plug-ins a user has installed.

Hide/Show Layer

Example scripts to create cross-browser dynamic menus and popups.

Related Links

Safari FAQ for Web Developers

This Safari FAQ takes a look at some of the specifics of how the Safari browser behaves from a development standpoint. With plenty of sample code, it presents valuable tricks and highlights some specialized behavior.

World Wide Web Consortium (W3C)

The World Wide Web Consortium (W3C) is the organizing force behind web standards and protocols, and their site has numerous useful resources for web developers including, a HTML Validator and a CSS Validator.

iTunes Link Maker

Want your website to promote your favorite bands or artists, seamlessly connecting visitors to online music? Use the iTunes Link Maker. Web developers simply copy and paste the generated code to link directly to any of the hundreds of thousands of songs, albums, or artists on the iTunes Music Store.

CSS Support in Safari

Provides a complete listing of the CSS properties supported in the latest version of Safari.