This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

data types

Summary

Data types are a way of configuring how a HTML element ( “HTML tag” ) should look or behave on a HTML document or a view in a Web Application. Data types define existing attributes associated with a HTML element. The “id” and “class” attribute doesn’t have predefined data types and is used by CSS stylesheets or for further enhancements through Javascript logic.

Usage

In HTML, the Data Types that are supported are used attributes values within an HTML element. They are used to describe

  1. Colors (basic ones are "red", "blue", etc…)
  2. Lengths
  3. Links and relationships
<!-- <element attribute="data type">...</element> -->
<a href="http://docs.webplatform.org" target="_blank"  class="linkStyle" id="linkAnchorOrUniqueStyle" >HTML Element hyperlink</a>

See also

Other articles