- From: Ioan Vlad <nick@farne.stanford.edu>
- Date: Sun, 6 Jun 2004 19:38:17 -0700 (PDT)
- To: www-validator@w3.org
Dear W3 guys, I see the www-validator flagging the following thing in my code as a mistake, but I think this is rather useful instead of a mistake. Say I have in my code, among 15 other <div>s, <div class="footer_universal"> When I close this tag, instead of simply closing it with </div>, I close it with </div class="footer_universal"> This makes the code much more readable. I "borrowed" this techinque from Fortran90, where one can assign names to do loops, ifs, etc, and the compiler actually checks if you have nested them correctly looking at the names. It would be nice if this property were allowed in HTML. Yes, I know, I can simply comment heavily in the code, but this way a machine can check if I closed all the tags in a meaningful way. Best, Nick -- _________________________________________________________________ Ioan "Nick" Vlad, M.Sc. (650) 723-1250 www.stanford.edu/people/ivlad ivlad@stanford.edu Dept. of Geophysics, Stanford University, Stanford, CA 94305-2215 -----------------------------------------------------------------
Received on Sunday, 6 June 2004 23:25:05 UTC