Common HTML Problems

Problems when writing HTML

header spacer 2
z

Additional notes on HTML

Problem 6 - Discussion note on capital letters

This is just a note because it is not yet a problem in HTML, but is a problem in XHTML. The use of capital letters in your tags, i.e., "<TR>" vs "<tr>", will cause an error in XHTML.  XHTML does not allow the use of capital letters and all code must be in lower case.  Most browsers currently don't care if you use one or the other in HTML, but you should try to be consistent when typing your code.


Problem 7 - Discussion note on CSS

CSS - When the <font> element and "color" attributes were added to the HTML 3.2 specification, it started a nightmare for web developers.  Development of large web sites, where fonts and color information were added to every single page and almost all lines on the page, created a long and expensive process for developing pages.  To solve this problem, the World Wide Web Consortium (W3C) created CSS.
CSS stands for "Cascading Style Sheets".  Styles define how to display your HTML elements.  Style sheets can be internal (placed inside your page code with the "style" element) or external style sheets which are stored in CSS files in your directory and called with the "link" element in the "head" element on your page.
CSS can save you a lot of time while developing your page.  It is primarily used to reduce the amount of redundant code or styling your text and code.  You should start using style sheets as soon as possible.  An external file is just a text file for easy editing, but has a file extension of its own (.css).  Most HTML editors will include it in the editor because it is linked to your page with the "link" element.


Problem 8 - Adding a Visitor Counter

You can create a "Visitor Counter" for your page on Rootsweb by going to: http://counter.rootsweb.com/. Follow the instructions to create your counter code to be inserted into your main page. Very simple.


Previous Page Next Page