[thelist] anchor tag not allowed within span
aardvark
roselli at earthlink.net
Tue Sep 25 18:39:46 CDT 2001
> From: "James Aylard" <webmaster at equilon-mrc.com>
>
> > the homesite syntax checker tells me that the anchor
> > tag is not allowed within the span tag. why is that?
>
> Homesite is wrong. Placing an anchor element within a span is
> perfectly
> fine. Both are considered inline elements, and each may contain any
> other inline element (except an anchor may not contain another
> anchor).
is the <span> within a block-level element?
i do believe the W3C validator will fail a floating <a> if it's not in a
block-level element...
doesn't mean homesite is right, or wrong, but just curious...
More information about the thelist
mailing list