next up previous
Next: SMIL Layout Up: SMIL Syntax Overview Previous: SMIL Syntax Overview

Basic Layout

The basic Layout of a SMIL Documents is as follows:

<smil>
 <head>
  <meta name="copyright" content="Your Name" />
  <layout>
   <!-- layout tags -->
  </layout>
 </head>
 <body>
  <!-- media and synchronization tags -->
 </body>
</smil>

A source begins with <smil> and ends with </smil>.

Note that SMIL, like XML but unlike HTML, is case sensitive

<smil>
[...]
</smil>

SMIL documents have two parts: head and body. Each of them must have <smil> as a parent.

<smil>
 <head>
  [...]
 </head>
 <body>
  [...]
 </body>
</smil>

Some tags, such as meta can have a slash at their end:

[...]
 <head>
  <meta name="copyright" content="Your Name" />
 </head>
[...]

This is because SMIL is XML-based.

Some tags are written:



Dave Marshall
10/4/2001