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

Re: HTML whine

Thread Previous | Thread Next
From:
Jonathan E. Paton
Date:
April 2, 2002 16:15
Subject:
Re: HTML whine
Message ID:
20020403001523.79895.qmail@web14604.mail.yahoo.com
> > 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
http://uk.my.yahoo.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About