Data Types
A data type specifies the type of value assigned to the attributes and the type of content that is to be displayed on the Web page. The different types of content include text, images, hyperlinks, video, and audio. Data types help in identifying the type of formatting such as color and length of data.
The important basic HTML data types are as follows:
- Text Strings
- Uniform Resource Identifiers (URIs)
- Colors
- Lengths
- Content Types
Specifies the type of content to be displayed on a Web page. Examples of content
types include "text/html" for displaying text using HTML format, "image/gift"
for displaying image of a .gift format, and "video/mpg" for displaying a video fie of mpg format. Following Figure shows the different data type.
types include "text/html" for displaying text using HTML format, "image/gift"
for displaying image of a .gift format, and "video/mpg" for displaying a video fie of mpg format. Following Figure shows the different data type.
No comments: