Explain Structure of HTML Document?

An HTML 4 document is composed of three parts:
  1. a line containing HTML version information,
  2. a declarative header section (delimited by the HEAD element),
  3. a body, which contains the document's actual content. The body may be implemented by the BODY element or the FRAMESET element.
White space (spaces, newlines, tabs, and comments) may appear before or after each section. Sections 2 and 3 should be delimited by the HTML element.
Here's an example of a simple HTML document:
      <TITLE>My first HTML document</TITLE>
      <P>Hello world!

No comments:

Post a Comment