[Tfug] Arg!!! HTML problems....

Michael Stenner mstenner at ece.arizona.edu
Thu Jul 22 16:39:56 MST 2004


On Thu, Jul 22, 2004 at 04:24:56PM -0700, Choprboy wrote:
> OK, ok... thanks for all the help....
> 
> I think I finally figured it out... do anchor tags (i.e. [a name="#top"]) have 
> to have a to have a close? There is no "link" to close... you do have to 
> close a normal [a href=] though...

Yes.  It's generally a good idea to make sure you close all your
tags.  I even write breaks as <br />.  Your "a" tag is downright
broken if not closed.  The good and bad thing is that many browsers
try to be smart when they hit broken html.  This is an example of when
that causes problems.

					-Michael

-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G


More information about the tfug mailing list