In HTML, closing P tags is often unnecessary (since, let's face it, as things stand HTML is about presentation as well as content). A subsequent opening P tag implies that the previous paragraph has ended. In a fairly smallish SGML application with a fixed set of tags with more-or-less well defined meanings such as HTML, you can get away with such things. But in XML, where golly knows ( and golly != the XML parser ) what each tag is supposed to mean, you can't take such liberties. So even though XHTML is a descendant of HTML, since it is an application of XML, it's ipso facto gotta conform to the XML standard.
Weasel words courtesy [ favourite local politician ]
perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth +er_name\n"'
In reply to Re: Re: (boo)Re: CGI IMG tag error
by arturo
in thread CGI IMG tag error
by Melly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |