About Me

Line Bar
CS Home
Assessments
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8


Welcome to Drusha.Net the homepage of Andy Hatfield.

HTML Lesson 7
Troubleshooting

These are some of the other necessary steps when creating an HTML document.

  • Troubleshooting
    • Avoid overlapping Tags
    • Embed Only Anchors and Character Tabs
    • Avoid duplicating tags (like the body tag)
    • Be careful to use attributes in the appropriate tags not as tags themselves
    • Use quotation marks appropriately
    • Check for missing paired tags
    • Check your spelling, expecially in tags and attributes
  • Do the Final Steps
    • Dummy Images
    • Update files
    • Check browser differences
    • Use appropriate comments

Assignments:

  • Add a comment to your default.htm page that includes your name and the current date.
  • Troubleshoot the code listed below.

Sample Code:

<html>

  <title>This is a sample title for a website.

  </title>

<body> <bgcolor="Black">

<h1>This is the header.

<p><b><i>This is bold and italic.</b></i>


   <p><a href=anewpage.html>
   <img src=apicture.jpg width=100 hieght=100 align=left>
   <a>

   <A HREF="headinglink.html">
   <H1>My heading</H1>
   </A>

   <B>This is an example of <I>overlapping</B>
   HTML tags.</I>

   <UL>
   <LI><H1>A large heading</H1>
   <LI><H2>Something slightly smaller</H2>
   </UL>

</body>



  


© Copyright 2002 Andy Hatfield @Drusha.Net, All Rights Reserved