download tag is used to
insert a link to a file download. The file can be located
in the module directory itself, or another location
on the Web.
alt="Business Ethics Course Syllabus">
src="Business Ethics Spring 2007.doc"/>
Results in this display:
The location of the file. It must be a URL value. If the file is stored
alongside the module, the file name itself can be used (e.g. "report.doc").
Starting with version 0.6, the CNXML language does not permit URLs that contain
ampersand (&) characters (i.e., http://cnx.org/example?i=1&
Check all object src
URLs and replace any ampersands with the entity
reference "&". More information can be found on the
The MIME type of the file. This requried value tells each
visitor's browser what sort of information is contained
in the file.
A list of common Internet media MIME types can be found
Specifies whether this object should be displayed in the online or PDF version of the content, or be used as the default media object.
If there is no default object present, then the
<media> element will only be displayed for the version(s) specified.
- default - This element is used for both PDF and online versions unless another, version-specific element is present (default).
- pdf - This element is used only for the PDF version of the content.
- online - This element is used only for the online version of the content.
The URL of a file containing a long description of the download.
Not all readers will be able to see your included media in
their browser, either due to blindness, low-vision, or an
environment that doesn't support the media. Some media are
too complex to describe fully in a few words using the "alt"
attribute, however. For media like charts and graphs that are
important for understanding the material, use "longdesc" to point
to a Web file that contains a full explanation of the media.
A unique identifier, whose value must begin with a letter and contain only letters,
numbers, hyphens, underscores, colons, and/or periods (no spaces).
, Unicode text