Versión en español



 


Types in HTML


List of types

cdata [CS]

Sequence of characters from the document's character set that may include character entities.

character [CN]

A single character from the document's character set. Single characters may be specified with a character entity reference (e.g., "&").

charset [CI]

A character encoding according to the character encoding list.

color [CI]

A color value may either be a hexadecimal number (prefixed by a hash mark) or one of the following sixteen color names. The color names are case-insensitive.
The hexadecimal numbers are constructed with RGB (red, green, blue) format, this means that the two first characters describes the red value, the two second the green and the two third the blue.

content-type [CI]

A value from the list of MIME types.

datetime [CS]

Designates a point in the timeline. The format must be as follows:

YYYY-MM-DDThh:mm:ssTZD

Where:
The value for the time zone designator (TZD) must be one of the following:

frame-target [CI]

frame target names must begin with a letter ([A-Z] or [a-z]). The names specified below are reserved and have special meanings.

idref [CS]

The idref type is a reference to a ID token defined in other attributes.

langcode [CI]

A code refering to a specific languaje acording to the language codes table.

length [CA]

May be measured in number of pixels or as percentage of the available space.

link-types [CI]

A value from the list below:

media-descriptor [CI]

A value from the list below:

multi-length [CN]

The value may be a lenght or a relative lenght. A relative lenght works exactly like percentage values but they do it over the space that's left. This means that the browser first assigns the space for all lenght values and then divides what's left between the relative lenghts. The notation for this value is "i*", where i is an integer. The sum of all the "i" values is equivalent to 100%.

name [CS]

Must begin with a letter ([A-Z] or [a-z]) and may be followed by letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").

number [CA]

Must contain at least one digit ([0-9]).

pixels [CN]

An integer representing the number of pixels of the canvas (screen, paper).

style [CN]

The style sheet data is a specific type and is not evaluated by browsers as HTML markup.

text [CS]

Text strings that are suposed to be "human readable", mostly used to be shown somewhere in the browser.

uri [CT]

See the URI and URL definition. In general are case-sensitive. There may be URIs, or parts of them, where case doesn't matter (like machine names), but identifying these cases may not be easy. It's recomended to consider them as case-sensitives to avoid errors.


Case sensitivity reference

CS

The value is case-sensitive. The browser interpret "a" and "A" as different values.

CI

The value is case-insensitive. The browser interpret "a" and "A" as the same value.

CN

The value is not subject to case changes.

CA

The element or attribute definition itself gives case information.

CT

Consult the type definition for details about case-sensitivity.




Bypass footer options  |   Send to a friend Send to a friend  |  Post to del.icio.us Post to del.icio.us

Digg this page Digg this!  |  File on Furl File on Furl  |  Add to Yahoo! MyWeb Add to Yahoo! MyWeb

Bypass W3C declarations | 

Valid XHTML 1.0 Strict  |  Valid CSS Why should you trust us? Click the images on the left to see how seriously we write our own pages, then make your choice.

Level Triple-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0. This website gives its best effort to achieve the Level Triple-A Conformance, W3C-WAI Web Content Accessibility Guidelines 1.0. If you find any detail or error that we didn't see, don't hesitate and let us know.

The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect. -- Tim Berners-Lee, W3C Director and inventor of the World Wide Web.

 Link to us  |  Contact us  |  Beyond HTML  |  Tools and resources  |  Sitemap  |  Webmaster