HTML Notes I

Minimalist HTML 4.01 Strict Code with external CSS file



<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="AUTHOR" content="Dana Lee Ling">
<title>Document Title</title>
<link href="" rel="stylesheet" type="text/css">

<h1>Header on Page</h1>
<p>Paragraph Text</p>



The Document Type Declaration (DTD or DOCTYPE)  tells the browser the type of file that follows and, in the case of HTML, the particular version of HTML being used.

The head section includes character set definitions, meta tags, document title, stylesheet links, and can include scripts.

The Content-Type tells the browser what character set to use.  There are many different possibly character sets.  HTML 4.01 often uses International Standards Organization character set 8859-1.  XHTML, a newer HTML standard, often uses Universal Text Format 8.

The link to a text/css tells the browser to obtain style information from a Cascading StyleSheet. 

The body contains the content of the web page.

Tags that begin with h followed by a number refer to a header level: h1, h2, h3, h4, with h1 being the largest.  The new XHTML specification will demand lower case tags, so get used to them now.

p tags are used as paragraph tags.