Sams Teach Yourself HTML 4 in 24 Hours

Sams Teach Yourself HTML 4 in 24 Hours

By Dick Oliver

Workshop

Quiz

  1. What's the simplest way to let the widest possible audience see a video on your Web site?
  2. Write the HTML to embed a video file named myvideo.avi into a Web page so that both Netscape Navigator and Microsoft Internet Explorer users will be able to see it, and users of other browsers will see an image linking to it.
  3. What tag will soon replace <embed /> and work with future versions of all major Web browsers?

Answers

  1. Just link to it:
    <a href="myvideo.avi">my video</a>
    
  2. Use the following HTML:
    <embed src="myvideo.avi" />
    <noembed>
    <a href="myvideo.avi"><img src="theimage.gif"></a>
    </noembed>
    
  3. <object>

Exercises

Share ThisShare This

Informit Network