Electric Type

Multimedia

About Us

News

Help

Accessible HTML

Page 3 — Applets and alt text

It's also important to include alt tags when you use Java applets, since text browsers don't support Java.

    <applet code=robertPlant alt=" [Robert Plant applet unavailable] ">
The applet alt element works fine with Java-enabled browsers (when users have Java turned off), but nonsupporting browsers will simply ignore any <applet> tags. You can remedy this by simply adding a line of text within the <applet tag>.
    <applet code=robertPlant alt=" [Robert Plant applet unavailable] "> If your browser were capable of handling applets, you'd could poke Robert Plant in the eye
    right here.
    </applet>

Before we move on, I should go over a couple other things about alt text. It's not necessary to include <br> tags in your alt text, because screen-reading and voice-recognition software usually break lines properly anyway. Also, don't use smiley faces, either. ASCII art is incomprehensible and will usually crash assistive technology.

next page»


Tutorials  

User Blogs  

Teaching Tools  

Authoring  

Design  

Programming help  

Advanced Flash  

Javascript  

Glossary  

PHP Coding  

User Blogs

Screen Shots

Latest Updates

Contact Us

Valid HTML 4.01!
Valid CSS!

Breadcrumb

© ElectricType
Maintained by My-Hosts.com
Site map | Copyright | Disclaimer
Privacy policy | Acceptable Use Policy
Legal information.