HTML Code Tutorial
Outline of a Basic HTML Page
In HTML, words or letters enclosed in brackets, < > are called HTML tags.
HTML is not case sensitive.
<html> is the same as <HTML>
Notice, that most HTML tags come in pairs, open and close.
Closing tags always include a forward slash.
Examples:
<HTML> </HTML>
<h1> </h1>
<strong> </strong>
The main sections of a basic HTML page are HEAD and BODY and are set off by sets of tags.
The head and body sections are located within the opening and closing HTML tags.
Basic HTML code for a web page:
<HTML>
<HEAD>
</HEAD>
<BODY>
</BODY>
</HTML>
Create a FREE Website
NO CODING!!
Create beautiful, professional websites
WITHOUT Learning to Code!!
19 Million+ Amazing FLASH websites
created by people just like you,
with no knowledge of HTML coding.
Head Section
The Head section of an HTML page is located right after the Opening <HTML> tag. It contains your title tag, meta tags and style sheet information. The head section is used to communicate information to browsers and search engine bots.
<HEAD>
<TITLE></TITLE>
<META>
<STYLE></STYLE>
</HEAD>
Head Section Contains:
- The Title of the page.
- Meta tags
- Embedded Style Sheets
Do not confuse the <Title> in the <head> section, with the main heading on your page. The Title in the <head> section is what appears on the bar at the top of your browser window. It is also used by search engines to index your page and should include strategic keywords.
<Meta> tags are also used by some search engines to index your HTML page. The basic format of a meta tag is:
<META NAME="" CONTENT="">
See Meta Tags
Body Section
The<Body> section contains all of the code for the page that will display in
the browser window.
<body>Code for page goes here.</body>
This is the same as:
<body>
Code for page goes here.
</body>
Advanced Users Note: The w3c discourages the use of most inline coding. Most inline coding has been deprecated in the latest releases of HTML. Learn to use Style Sheets. See also: Working With Fonts.
Contents
Home
Introduction
Learning the Basics
Page Structure
Basic HTML Page
Doctype
The Body Tag
The Division Tag
The ID Attribute
Float Property
Navigation
Anchor Tag
Anchor Tag - Intradocument
Anchor Tag - Image
Text Controls
Style Sheets
Working With Fonts
The Header Tag
The Paragraph Tag
Paragraphs-Images
Using Lists
The Pre Tag
Line Break Tag
Tables
Basics of Tables
Colspan
Forms
Form Basics
Check Boxes
Text Boxes
Selection Boxes
Frames
Basic Frames
Target and Scrolling
Search Engines
Miscellaneous
Meta Tags
Using Borders
Horizontal Rule
Buttons with CSS
Using Color
Color Chart
Using Images
Using Templates
Uploading HTML pages.
HTML-CSS Quizzes
Our Recommended
HTML Editors
Download CoffeeCup HTML Editor
Click Here

HTMLPad 2011
We Compared the 2 HTML Editors




