HTML
HTML is the hidden coding behind any web page, which
tells the browser what to display on the user's screen.
HTML tags are contained within "<" and
">" brackets. Most html tags have an opening
tag <tag> and a closing tag </tag> which
contains a "/" before the tag name. There
are a few exceptions, but it's generally best practice
to always include the closing tag -- it makes editing
the html easier as you can see where tags close.
HTML tags are NOT case sensitive.
Typical HTML page coding:
-------------------------------------------------------------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Insert your page title here</title>
</head>
<body bgcolor="#FFFFFF">
Opens the body and tells the browser the background
color. Then you need to actually add your content.
All of your content goes between the BODY tags!
</body>
</HTML>
-------------------------------------------------------------------------------------------------------------------------------
It
is crucial to have closing tags for the </body>
and </html> tags!
back to top
Final Points
Accurate HTML will go a long way to ensuring your site
displays correctly and quickly on a variety of browsers
Make your HTML as clean and simple as possible
Double check all your HTML to ensure all quote marks
are included, and all opening tags have a corresponding
closing tags
Use a spell checker - spelling mistakes are unprofessional
Experimenting is the quickest way to learn HTML
Right click on web sites you like to view the HTML source
to see how certain effects were made
Try and keep content and style separate by using a style
sheet
Put your page through a validator, such as http://validator.w3.org/
|