Forum : javascript
Brief description  about Online courses   join in Online courses
View ganesh  pradhan 's Profile

javascript

what is meaning below pested code like //W3C//DTD HTML 4.01 Transitional//EN"

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd" >
<html lang='en'>
Asked by ganesh pradhan | Mar 10, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi Ganesh,

Actually it is called Doc Type Definition (DTD), 3 types available: strict, transitional, and frameset

Strict:

This DTD contains all HTML elements and attributes, but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed.

Transitional:

This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font). Framesets are not allowed.

Frameset:

This DTD is equal to HTML Transitional, but allows the use of frameset content.

Regards,
Team SiliconIndia
Mar 11, 2010