HTML Code Tutorial

Basic Rules of the HTML Tag

Any basic HTML tag will follow a couple of simple rules.

  1. All html tags will be enclosed in brackets (<  > )
  2. With few exceptions, there will be an opening and closing html tag. (<>   </>)
  3. The html tag is not case sensitive. (<html> is the same as <HTML>)
  4. Some html tags are required.
    <html>< head>< title></title></head><body></body></html>

Exceptions

  1. When using frames, replace <body></body> with <frameset></frameset>
  2. 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

Online HTML Tag Tutorial

A basic online tutorial for beginners. Covers the most commonly used HTML tags.