[thelist] RE: HTML test (tip): The other side.

Sam-I-Am sam at sam-i-am.com
Fri Sep 8 14:08:03 CDT 2000


> are you going to offer comments if people post their answers?

if they don't get too tedious for the rest of the list, sure
Also, I'm not casting myself as examiner here... 

>    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
>     "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
>    <html><head><title>100x100 red square</title></head>
>    <body>
>    <img src="1pix_f00.gif"
>         alt="100x100 red square"
>         width="100" height="100"
>         border="0" hspace="0" vspace="0">
>    </body>
>    </html>
> 
> > this should be approached as a real-life problem...
> > caveats should be supplied...
> 
> stretching a one-pixel gif is an old hack, but it works better than css

ah, I like it. It's a complete and reasoned answer - ignoring the
implication that css was the answer (by context).

> do i get any marks for knowing that a page will not validate 4.01
> transitional without a title?

Sure, have a gold star. But then I might ask you which browsers will
recognize your hspace and vspace attributes, and in what circumstances
they might default to anything other than zero? (are there any? I'm
thinking these are redundant here)

thanks for playing,
Sam




More information about the thelist mailing list