• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Data Types

Table A.1 summarizes and explains the data types used in the information in this appendix.

Table A.1. Data Types
NameDescription
characterA single character or character reference from the document character set.
character-setSpecifies the character encoding. Values (such as iso-8859-1 or us-ascii) must be strings approved and registered by IANA, The Internet Assigned Numbers Authority.
colorColors are identified by standard RGB in hexadecimal format (#rrggbb) or by predefined color name (with corresponding hex value) shown here:
 black = "#000000"
 silver = "#c0c0c0"
 gray = "#808080"
 White = "#ffffff"
 maroon = "#800000"
 red = "#ff0000"
 purple = "#800080"
 fuchsia = "#ff00ff"
 green = "#008000"
 lime = "#00ff00"
 olive = "#808000"
 yellow = "#ffff00"
 navy = "#000080"
 blue = "#0000ff"
 teal = "#008080"
 aqua = "#00ffff"
content-typeContent types, also known as MIME types, specify the nature of the resource (such as "text/xhtml" or "image/gif").
dataA sequence of characters or character entities from the document character set.
datetimeLegal datetime strings follow the following format:
 yyyy-mm-ddthh:mm:sstZd.
 yyyy = four-digit year.
 mm = two-digit month (01= January, and so on).
 dd = two-digit day of month (01 through 31).
 t = beginning of time element. The "t" must appear in uppercase.
 hh = two digits of hour (00 through 23) (am/pm not allowed).
 mm = two digits of minute (00 through 59).
 ss = two digits of second (00 through 59).
 tZd = time zone designator. The time zone designator is one of the following:
 Z—indicates UTC (Coordinated Universal Time). The "Z" must be uppercase.
 +hh:mm—indicates that the time is a local time that is hh hours and mm minutes ahead of UTC.
 hh:mm—indicates that the time is a local time that is hh hours and mm minutes behind UTC.
 A valid datetime is
 1998-06-13t19:30:02-05:00
idAn identifier token that must begin with a letter (AñZ or añz) and might be followed by any number of letters, digits (0ñ9), hyphens (-), underscores (_), colons (:), and periods (.).
idrefA reference to an ID token defined by other attributes.
idrefsA space-separated reference list to ID tokens defined by other attributes.
language-codeA language code that identifies a natural language spoken, written, or otherwise used for the communication of information among people. Computer languages are explicitly excluded from language codes. Language codes are identified by a primary code (such as en) followed by a hyphen and a two-letter subcode (such as -us) that identifies the country if necessary. The complete language code is: en-us for the U.S. version of English.
lengthA value representing either a number of pixels (such as 100) or a percentage of available space (such as %50).
link-typeA space-separated list of link types:
 alternate—Designates substitute versions for the document in which the link occurs. When used together with the lang attribute, it implies a translated version of the document. When used together with the media attribute, it implies a version designed for a different medium (or media).
 -appendix—Refers to a document serving as an appendix in a collection of documents.
 bookmark—Refers to a bookmark. A bookmark is a link to a key entry point within an extended document.
 chapter—Refers to a document serving as a chapter in a collection of _documents.
 contents—Refers to a document serving as a table of contents.
 copyright—Refers to a copyright statement for the current document.
 glossary—Refers to a document providing a glossary of terms that pertain to the current document.
 help—Refers to a document offering help.
 index—Refers to a document providing an index for the current document.
 next—Refers to the next document in a linear sequence of documents.
 prev—Refers to the previous document in an ordered series of documents.
 section—Refers to a document serving as a section in a collection of documents.
 start—Refers to the first document in a collection of documents.
 stylesheet—Refers to an external stylesheet. This is used together with the link type alternate for user-selectable alternate style sheets.
 subsection—Refers to a document serving as a subsection in a collection of documents.
 user-defined—Relationship defined by the content author. If used, the profile attribute of the head element should provide explanatory information.
media-descriptorA comma-separated list of recognized media descriptors:
 all—Suitablefor all devices.
 aural—Intended for speech synthesizers.
 braille—Intended for Braille tactile feedback devices.
 handheld—Intended for handheld devices (small screen, monochrome, bitmapped graphics, limited bandwidth).
 print—Intended for paged, opaque material and for documents viewed onscreen in Print Preview mode.
 projection—Intended for projectors.
 screen—Intended for nonpaged computer screens.
 tty—Intended for media using a fixed-pitch character grid, such as Teletypes, terminals, or portable devices with limited display capabilities.
 tv—Intended for television-type devices (low resolution, color, limited scrollability).
multi-lengthA value representing either a number of pixels (such as 100), a percentage of available space (such as %50), or a relative length designated by an integer followed by an asterisk: "i*". The "i" is a proportional modifier of any remaining space that will be divided among relative length elements. For example, if there are 120 pixels remaining and competing relative lengths of 1*, 2*, and 3*, the space would be allocated as 20, 40, and 60 pixels respectively.
nameAn identifier token that must begin with a letter (AñZ or añz) and might be _followed by any number of letters, digits (0ñ9), hyphens (-), underscores (_), colons (:), and periods (.).
numberA number composed of at least one digit (0ñ9).
pixelsAn integer representing a number of pixels.
scriptScript data. This is not evaluated as XHTML markup but passed as data to the script engine. Value is determined by scripting language.
styleStylesheet rules. This is not evaluated as XHTML markup. Value is _determined by style language.
textText that is meant to be read and understood by the user.
URIA Uniform Resource Identifier, which includes Uniform Resource Locators.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint