What Are the Required Parts of an HTML Page?
HTML documents are defined by tags that consist of an opening and closing tag in order for the document to be considered “well-formed.” A closing tag will have the same name as an opening tag, but will be preceded by the / symbol. All HTML documents must have a HTML and BODY tag in order to be displayed in a web browser. Other tags that are common to HTML pages include the document HEAD, TITLE, and P (paragraph) tags. For example:
Page Heading
My First Web Page paragraph
The tag in the example code declares the document to be type HTML to a web browser. The tag contains adeclaration and defines a new paragraph tag
. Although an