HTML pages should always include the following. You may want to copy & paste this into a new text file...(remove the Quotation marks)
index.html v1
<"html">
<"head">
<"title">Page title<"/title">
<"/head">
<"body">
Your visible content goes here...
<"/body">
<"html">
Notice how everything is contained between <"html"> and <"/html'> tags.
This is an example of a paired tag, which need a starting tag and a matching closing tag (indicated with the forward-slash). Paired tags describe the content between them. In the case of the tag, it's telling a web browser that everything between the 2 tags is HTML.
Within the HTML, there are 2 main part of every HTML page: the head section and the body section, marked up with the paired tags <"head"><"/head"> and <"body"><"/body">.
No comments:
Post a Comment