When I read the HTML 4 Specification.
The document says :
Each markup language defined in SGML is called an SGML application. An SGML application is generally characterized by:
- An SGML declaration.
- A document type definition (DTD).
- A specification that describes the semantics to be ascribed to the markup. This specification also imposes syntax restrictions that cannot be expressed within the DTD.
- Document instances containing data (content) and markup. Each instance contains a reference to the DTD to be used to interpret it.
From above paragraph, My understanding is the HTML
is an SGML application
, Is it right?
And I know there are three types(Traditional, Strict and Frameset) of DTD for the HTML4
(no DTD for HTML5). so for the below sample of Html. What is the DTD type? Thanks.
<Html>
<head>
</head>
<body>
<p>the test html</p>
</body>
</Html>