[thelist] end tags?

Andrew Maynes andrew at uk-webdeveloper.co.uk
Mon Apr 22 02:58:01 CDT 2002


Thank you for this very useful

Andrew

   <img src="img.gif" alt="This is an Image" />
   <br />
   <input id="input" type="text" />

instead of:

   <img src="img.gif" alt="This is an Image"></img>
   <br></br>
   <input id="input" type="text"></input>

Both are correct strictly according to the standard, but older browsers may
have trouble when you close an element they don't know should be
closed.  Hence, most people just use the shorted syntax (that and it's less
typing).  :-)

~~Ian


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 4/17/02

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 4/17/02





More information about the thelist mailing list