next up previous
Next: Relative Position Example Up: Positioning Media Previous: The Region tag

The img tag

To insert the Cardiff icon in the region called "cardiff_icon", we use the <img> tag as shown in the source below.

Note that the region attribute is a pointer to the <region> tag.

     <root-layout width="600" height="300" 
          background-color="white" />
     <region id="cardiff_icon" left="30" top="25" 
          width="533" height="250" />
    <img src="cardiff.gif" alt="The Cardiff icon"
          region="cardiff_icon" />

This produces the following output:

Simple Cardiff Image Placement in SMIL

Dave Marshall