Close this window

Using the <text> tag

Description

The text tag is used to place plain text into modules. It is intended for use as a fallback for media that cannot be displayed in PDF, such as flash or video.

Example

This CNXML:


<media id="building-on-past"
       alt="Building on the past.">
  <video mime-type="video/mpeg" 
         src="Building_on_the_Past.mpg"
         autoplay="false"
         width="320" height="260" 
         for="online"/>
  <text for="default">
         If you have access to the internet, please review the 
         "Building on the Past" video located 
         <link url="Building_on_the_Past.mpg">on the website</link>.
         For those of you who do not have access to this movie,
         please refer to Handout 1A as an alternate exercise.
  </text>
         
        

Results in this display:

If you have access to the internet, please review the "Building on the Past" video located on the website1. For those of you who do not have access to this movie, please refer to Handout 1A as an alternate exercise.

The output shown above would be displayed in the PDF version of the content; the online version of the content would display the movie itself.

Attributes(what's this?)

Children(what's this?)

param, term, cite, cite-title, foreign, emphasis, sub, sup, code, preformat, quote, note, list, link, audio, flash, video, text, java-applet, image, labview, download, Unicode text

Parents(what's this?)

media, audio, flash, video, text, java-applet, image, labview, download
Close this window