develooper Front page | perl.beginners | Postings from April 2002

Re: HTML whine

Thread Previous | Thread Next
Jonathan E. Paton
April 2, 2002 16:15
Re: HTML whine
Message ID:
> > while ( my($first, @full_list)=$list_tbl->fetchrow){
> >     print "<option>"$first;
> > }
> technically I LIKE the answer, but PLEASE close it!!!
> 	print "<option>" . $first . "</option>" ;
> the more of these that we get in the habit of making
> kosher - the better.

Closing HTML tags is part of the specification, i.e.
not optional for syntactically correct HTML.

Such HTML only works with most browsers due to the
proliferation of badly coded HTML.  If it wasn't
for that, then browsers wouldn't have such a hard
time parsing HTML (and would therefore be faster).

Alas, web designers cut back on HTML tags to improve
the download times - a mixed blessing.

Jonathan Paton

Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About