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

Gregory Gray usulix at yahoo.com
Fri Jul 23 10:36:53 MST 2004


I just wanted to add that although not required for
most browsers... XHTML specification requires all tags
to have some sort of close. It also describes a
"minimized tag syntax" for empty elements -- meaning
elements that have options only and no data between
the tags.

Thus an anchor tag should be <a href="#anchor" />

I try to stay as XHTML compliant as possible even
going with <br /> instead of just <br>

I don't think it usually affects rendering... it may
some day, though....

G

http://www.w3.org/TR/xhtml1/

--- Paul Scott <waterhorse at ultrasw.com> wrote:
> 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...
> >  
> >
> What needs to be closed is the text between the
> anchor tags.  That text 
> could be more than one paragraph.  The appearance of
> that text is what 
> tells the viewer the state of the link: unvisited,
> active, and visited 
> which can be set in your style sheet:
> 
> |A:link    { color: red }
> A:active  { color: blue; font-size: 125% }
> A:visited { color: green; font-size: 85% }|
> 
> Paul
> 
> 
> _______________________________________________
> tfug mailing list
> tfug at tfug.org
> https://www.tfug.org/mailman/listinfo/tfug
> 



	
		
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


More information about the tfug mailing list