Answers Search Help
Boston University home page
HTML: Introduction
 
 
    Components
 
 
 
 
 
 
    Syntax
 
 
 
 
 
    Essential Tags
 
 
 
 
 
 
 
 
    HTML Headings
 
 
    Text
 
 
 
 
    Layout
 
 
 
 
 
 
 
    Links & Images
 
 
 
 
    Publishing
 
 
    Also See
 
 

Hands on: Essential Document Tags

Create a basic Web page containing the essential document tags and some text, save it as a Web page, and look at it in a Web browser:

  1. From the Start menu, launch Notepad (usually in the Accessories group).
  2. Add the <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> tag.
  3. Add the <html>, <head>, and <title> tags.
  4. Add text for the document title.
  5. Close the Title and Head using </title> and </head> tags.
  6. Add the <body> tag.
  7. Add some text to your document.
  8. Close the Body and HTML using </body> and </html>.
  9. Save the file to a convenient location by selecting File > Save, choosing a directory to save to, and naming your file practice.html.
  10. Preview your page in a Web browser (like Internet Explorer) by selecting My Computer from the Desktop and navigating to and launching your saved page.
WebCentral Using Publishing Learning Training Consulting WebCentral
Answers Search Help
NIS  |  OIT  |  Boston University  |   January 9, 2007