10.7. Summary

This chapter introduced you to non-HTML content and how you can embed it in your documents. You learned how plugins operate, how to tell the user agent that it needs a plugin, as well as how to pass parameters to the plugin to help control the content.

Unfortunately, multimedia is one of the areas where the user agent market has fragmented. Microsoft builds a lot of functionality into Internet Explorer through the native Windows platform, while other user agents rely on plugins to handle non-HTML content. Properly coding for all cases becomes a chore not easily accomplished. The best advice is to stick to popular formats (such as Flash) or ensure that a plugin exists (and is accessible via your code) for most platforms.

Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.