2 formatted quote as blockquote for easier readability
source | link

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:

1. An SGML declaration.    
2. A document type definition (DTD).     
3. 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.     
4. Document instances containing data (content) and markup. Each instance contains
a reference to the DTD to be used to interpret it.

Each markup language defined in SGML is called an SGML application. An SGML application is generally characterized by:

  1. An SGML declaration.
  2. A document type definition (DTD).
  3. 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.
  4. 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>

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:

1. An SGML declaration.    
2. A document type definition (DTD).     
3. 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.     
4. 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>

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:

  1. An SGML declaration.
  2. A document type definition (DTD).
  3. 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.
  4. 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>
1
source | link

Understand SGML and HTML

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:

1. An SGML declaration.    
2. A document type definition (DTD).     
3. 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.     
4. 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>