On 19 Jan 99, Kayla Block wrote:

> >Try adding one more </font> after ORNINGSTAR *or* since the outermost font
> 
> Nesting problem or not, it is out of spec to include formatting within
> <a></a> tags.....even if it works, it's a bad idea.

This is quite incorrect.  It is not illegal to place inline text formatting tags 
within <a> tags, and never has been.  The following code will pass cleanly 
through WebLint and through W3's own validator:

****
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" 
"http://www.w3.org/TR/REC-html40/loose.dtd">

<html>
<head>
        <title>Test</title>
</head>
<body>

<div>
<a href="test.html"><font size="-1">test</font></a>
</div>

</body>
</html>

****

And so will this:

****
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html>
<head>
        <title>Test</title>
</head>

<body>

<p>
<a href="test.html"><code>test</code></a>
</p>

</body>
</html>

****

Both the above snippets are entirely legal and correct.


-----------
Brent Eades, Almonte, Ontario
   E-mail: [EMAIL PROTECTED]
           [EMAIL PROTECTED]
   Web:    http://www.almonte.com/


____________________________________________________________________
--------------------------------------------------------------------
 Join The NEW Web Consultants Association FORUMS and CHAT:
   Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
   Give the Gift of Life This Year...
     Just4U Stop Smoking Support forum - helping smokers for
      over three years-tell a friend: http://just4u.com/forums/
          To get 500 Banner Ads for FREE
    go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------

Reply via email to