SMIL Question:
Download Job Interview Questions and Answers PDF
How to add references in SMIL?
Answer:
- A time namespace should be defined to use SMIL in HTML.
- The process is:
1. Add <?import> element in <HTML> tag definition to add time name space.
2. Define a ‘time’ class to add SMIL attributes to standard HTML elements.
3. This is done by <html xmlns:time="urn:schemas-microsoft-com:time">
4. To define the class "time" add a <style> element.
5. This is done by
<head>
<?import namespace="time" implementation="#default#time2">
<style>.time {behavior: url(#default#time2)}</style>
- The process is:
1. Add <?import> element in <HTML> tag definition to add time name space.
2. Define a ‘time’ class to add SMIL attributes to standard HTML elements.
3. This is done by <html xmlns:time="urn:schemas-microsoft-com:time">
4. To define the class "time" add a <style> element.
5. This is done by
<head>
<?import namespace="time" implementation="#default#time2">
<style>.time {behavior: url(#default#time2)}</style>
Download SMIL Interview Questions And Answers
PDF
Previous Question | Next Question |
SMIL Job Interview Questions Part Four! | What is the use of SMIL? |