Bridgewater College Logo Academic Computing at Bridgewater College
     
Discover HTML Tagsn
Write a Simple Web Page
View & Edit the Page
Add Some Color
Upgrade to a WYSIWYG Editor
Learn More HTML Tags
Publish the Page
Resources

Printable Version
(total tutorial)

 

WRITING (OR AT LEAST LOOKING AT)
YOUR FIRST WEB PAGE IN HTML CODE

Dr. Richard L. Bowman, Director
Academic Computing, Bridgewater College, Bridgewater, VA, USA 22812

I. Discovering HTML Tags

In this tutorial you will learn some simple HTML (Hyper Text Markup Language) code. An HTML document is simply a text file with special codes for formatting. These special text codes are referred to as "tags." A tag consists of the necessary text enclosed in <...>. There are a few constraints on writing good HTML code in addition to knowing the various tags.

  • Current HTML standards require the tags to be in lowercase only. However, most current browsers will interpret the HTML code correctly even if the tags are written in uppercase or a mix of cases.
  • Generally, each tag is followed at some point by a closing tag to indicate when that particular formatting feature should be turned off. For example, to indicate bold text the beginning tag is <b> or <strong> followed by the text to be set in boldface font and closed by the appropriate </b> or </strong> tag.
  • Each HTML page begins with <html> followed by a <head> tag. The <head> tag allows the author to give a title to the web page and list other pertinent information. This section finally ends with a </head> tag.
  • The body of the document gives all of the information that is to be printed by a browser interpreting that HTML code and begins with <body>. The whole page ends with a </body> and </html>. (Some browsers will not require all of the ending tags. However, in order to be as general as possible, it is a good procedure to include all of the ending tags.)

    Return to the AcadComp Homepage
Go to Academic Computing at Bridgewater College
 
Bridgewater College Home Page ©1997, 2004, 2007, Richard L. Bowman
Last modified: 28-Aug-07; by R. Bowman,
rbowman@bridgewater.edu