The HTML window below, describes a basic HTML page. It is described below.
Note that many HTML tags are paired, and may contain text and other HTML tags (this is called nesting). For example, see the
<strong> .. </strong> tags which makes the text inside them, bold.
Explanation of HTML tags
<!doctype html>tag – defining the document type (not a paired tag)
<html> .. </html>block – specifying the language as HTML. Nested inside are the
The <head> block
<head> .. </head>block – containing page information
<title> .. </title>tags defining the page title; this does not appear on the page. It is used by the search engines, and appears in the Browser tab.
<link .. >tag – linking to the CSS stylesheet page (in this example, called
The <body> block
</body>tags contain everything that appears on the page.
- Other than the
<link .. >tag, the tags above should appear only once on a page.