From http://www.w3schools.com (Copyright Refsnes Data)

SMIL Introduction

Previous Next

SMIL is an easy-to-learn HTML-like language for describing audiovisual presentations.


What You Should Already Know

Before you continue you should have a basic understanding of the following:

If you want to study these subjects first, find the tutorials on our Home Page.


What Is SMIL?


A Simplified SMIL Example

<smil>
<body>
  <seq repeatCount="indefinite">
    <img src="image1.jpg" dur="3s" />
    <img src="image2.jpg" dur="3s" />
  </seq>
</body>
</smil>

From the example above you can see that SMIL is an XML based, easy to understand, HTML-like language that can be written using a simple text-editor.

The <smil></smil> tags defines the SMIL document. A <body> element defines the body of the presentation. A <seq> element defines a sequence to display. The repeatCount attribute defines an indefinite loop. Each <img> element has a src attribute to define the image source and a dur attribute to define the duration of the display.


What Can SMIL Do?


SMIL is a W3C Recommendation

W3C has been developing SMIL since 1997, as a language for choreographing multimedia presentations where audio, video, text and graphics are combined in real-time.

SMIL became a W3C Recommendation 15. June 1998.

To read more about the SMIL activities at W3C, please read our W3C tutorial.


Previous Next

From http://www.w3schools.com (Copyright Refsnes Data)