W3Schools

home HOME

SMIL Tutorial

SMIL HOME
SMIL Intro
SMIL Files
SMIL HTML
SMIL XHTML
SMIL Timing
SMIL Sequence
SMIL Parallel
SMIL Transitions
SMIL Media
SMIL Reference

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Forum

Helping W3Schools

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:

  • HTML
  • XHTML
  • XML
  • XML namespaces

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


What Is SMIL?

  • SMIL stands for Synchronized Multimedia Integration Language
  • SMIL is pronounced "smile"
  • SMIL is a language for describing audiovisual presentations
  • SMIL is easy to learn and understand
  • SMIL is an HTML-like language
  • SMIL is written in XML
  • SMIL presentations can be written using a text-editor
  • SMIL is a W3C standard

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 can be used to create Internet or Intranet presentations
  • SMIL can be used to create slide-show presentations
  • SMIL has been described as the Internet answer to PowerPoint
  • SMIL presentations can display multiple file types (text, video, audio...)
  • SMIL presentations can display multiple files at the same time
  • SMIL presentations can display files from multiple web servers
  • SMIL presentations can contain links to other SMIL presentations
  • SMIL presentations can contain control buttons (stop, start, next, ...)
  • SMIL has functions for defining sequences and duration of elements
  • SMIL has functions for defining position and visibility of elements

SMIL At W3C

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 was presented as a working draft in November 1997.

SMIL 1.0 became a W3C Recommendation in. June 1998.

SMIL 2.0 became a W3C Recommendation in August 2001.


Previous Next


Altova® XMLSpy® - The world's best-selling XML editor!

Whether you're new to XML or already an advanced user, the user-friendly views and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to meet your XML and Web services development needs from start to finish.

  • XML editor
  • Graphical XML Schema / DTD editors
  • XSLT 1.0/2.0 editor, debugger, profiler
  • XQuery editor, debugger, profiler
  • Support for Office Open XML (OOXML)
  • Graphical WSDL editor & SOAP debugger
  • Java, C#, C++ code generation
  • And much more!

Download a free 30-day trial today!

Click to see a demo!

Learn what’s new in v2008




diploma   

Get Your Diploma!

W3Schools' Online Certification Program is the perfect solution for busy professionals who need to balance work, family, and career building.

The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.

The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.



Jump to: Top of Page or HOME or Printer Friendly Printer friendly page

W3Schools provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2008 by Refsnes Data. All Rights Reserved.

Validate Validate W3C-WAI level A conformance icon W3Schools was converted to XHTML in December 1999
SITE SEARCH
 
About W3Schools
W3Schools Forum
Web charting
Web based charting
for ASP.NET
WEB HOSTING
$15 Domain Name
Registration
Save $20 / year!
UK Domain Names
UK Web Hosting

Alojamiento Web
Buy UK Domain Names
Register Domain Names
Cheap Domain Names
Cheap Web Hosting
Best Web Hosting
Domain Name Registration
PHP MySQL Hosting
Top 10 Web Hosting
Web Hosting Providers
Web Hosting Company
UK Web Hosting
UK Reseller Hosting
Web Hosting
WEB BUILDING
Website Templates
Flash Templates
Website Builder
Internet Business Opportunity
Custom Programming
FREE Trial or Demo
Web Content Manager
Forms,Web Alerts,RSS
Ecommerce Software
XMLSpy XML Editor
Azbuz Blog
SHOPPING
UK Wholesalers
UK Wholesale
UAE Dubai Property
Private Student Loans
UK Dropshippers & Wholesalers Directory
EDUCATION
US Web Design Schools
HTML Exam
YELLOW PAGES
www.nettkatalogen.no
www.gulex.dk
www.gulex.se
www.gelbex.de
www.teloos.fi
www.teloos.fr
www.teloos.co.uk
www.teloos.at
www.teloos.de