HTML Code Tutorial
Basic Rules of the HTML Tag
Any basic HTML tag will follow a couple of simple rules.
- All html tags will be enclosed in brackets (
< >) - With few exceptions, there will be an opening and closing html tag. (
<> </>) - The html tag is not case sensitive.
(<html>is the same as<HTML>) - Some html tags are required.
<html>< head>< title></title></head><body></body></html>
Exceptions
- When using frames, replace
<body></body>with<frameset></frameset> - The image tag does not use a closing tag
<img>
There are other exceptions. Check out our resources for more information.
Our HTML Tag Resources
A basic online tutorial for beginners. Covers the most commonly used HTML tags.
Contents
HomeIntroduction
Page Structure
Basic HTML PageDoctype
The Body Tag
The Division Tag
The ID Attribute
Float Property
Navigation
Anchor TagAnchor Tag - Intradocument
Anchor Tag - Image
Text Controls
Style SheetsWorking With Fonts
The Header Tag
The Paragraph Tag
Paragraphs-Images
Using Lists
The Pre Tag
Line Break Tag
Tables
Basics of TablesColspan
Forms
Form BasicsCheck Boxes
Text Boxes
Selection Boxes
Frames
Basic FramesTarget and Scrolling
Search Engines
Miscellaneous
Meta TagsUsing Borders
Horizontal Rule
Buttons with CSS
Using Color
Color Chart
Using Images
Using Templates
Uploading HTML pages.
HTML-CSS Quizzes

