Barry Lee Brisco wrote:
> 
> >At 10:23 PM -0700 6/26/98, Barry Lee Brisco wrote:
> >>#3 - the "Check HTML" syntax checker function seems completely screwy. It
> >>gives me all sorts of errors like "<TR> not allowed in content of <FONT>"
> >>and "<HTML> not allowed in content of <FONT>" when I know there is nothing
> >>wrong. In fact the error messages don't even make sense. The latter for
> >>example, it points to the final tag in the document, which as usual is
> >></html> as having a problem. Hell, there are no tags after it? What could
> >>be wrong? Almost all the "errors" it picks up are bogus or nonsensical.
> >
> >Mmmm.... homesite gives this same error set sometimes ...
> >
> >technically, <font> can live only inside <p> i believe - at least early on
> >-- so it's looking for </font> when a graph ends or new one begins. this
> >leads to the nesting error problem you're seeing.
> 
> Kathy, thanks for your comment. By 'early on', what do you mean? I didn't
> realize this. But surely it's been years now that all the major browsers
> could handle font tags outside <p> tags. So the BBEdit syntax checker is
> rather archaic in this respect...


Just because the browsers can handle em doesn't make it spec <smile>.


Checking what tags are "allowed inside" the FONT tag (this is 4.0 spec)
I find the following (note that <P> IS MISSING so the BBEdit checker is
not wrong, just strict)


<A>, <Aacronym>, <applet>, <b>, <basefont>, <boo>, <br>, <button>,
<cite>, <code>, <dfn>, <em>, <font>, <i>, <iframe>, <img>, <input>,
<kbd>, <label>, <map>, <object>, <q>, <s>, <samp>, <script>, <select>,
<small>, <span>, <strike>, <strong>, <sub>, <sup>, <textarea>, <tt>,
<u>, <var>


OTOH, <font> /is/ allowed inside <p> ...


I repeat, I get the same error message in HomeSite/CF Studio because I
have set it to do 'strict' HTML validation.


Likewise, <p> is not legal inside <ul> ... <br> isn't either, but it's
the tag I taught the class to use because I think of it as being less
bad (if there is such a thing) because for voice readers it wouldn't be
saying "point -- blah, blah, blah, new paragraph, blah, blah, blah --
unless of course these are true paragraphs and not aesthetic spacing.


Highly recommend Hip Pocket Guide to HTML 4.0 -- and (soon) definitive
stuff like this at whatis.com -- if I even finish the tags for the site
owner.


Kathy



Kathy


 -- 
========================
Kathy E. Gill
Business Process Information
425.234.2004 - 6X-JT
http://www.dotparagon.com/aboutgill.html

"You must be the change you wish to see in the world." -- Ghandi
____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to