Sunday, March 28, 2010
Basic Rules for HTML Code-4th part
Posted by devlevis | Sunday, March 28, 2010 | Category:
basic rules for html code,
creating the basic structure using html code,
free html course,
html tricks,
learn html
|
Creating the Basic Structure:
The basic structure for all HTML documents is the same and should include the
following minimum elements and tags:
- <DOCTYPE>-The declared type of the document
- <html>-The main container for HTML pages
- <head>-The container for page header information
- <title>-The title of the page
- <body>-The main body of the page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta ... meta tags go here ... >
<title>title of the page/document goes here</title>
<LINK rel-"stylesheet" href-"external style sheet name"
type-"text/css">
<style>
... any document specific styles go here ...
</style>
<script>
... client-side scripts go here ...
</script>
</head>
<body>
... body of document goes here, paragraphs modified by
block elements, characters, words and sentences modified by
in line elements ...
</body>
</html>
NOTE:SEE Basic Rules for HTML Code-5th part for more rules
Subscribe to:
Post Comments (Atom)


Currently have 0 comments: