Re: Re[2]: Start with HTML or XHTML? (slightly OT)
by "Steve Mount" <steve(at)saltyrain.com>
|
| Date: |
Thu, 14 Mar 2002 10:35:51 -0500 |
| To: |
"Anton Tagunov" <tagunov(at)newmail.ru> |
| Cc: |
"LSN Bluff" <lsnbluff(at)hotmail.com>, <hwg-techniques(at)hwg.org> |
| References: |
hotmail SMount2K newmail |
| |
todo: View
Thread,
Original
|
|
Well, I don't teach HTML, I teach JavaScript ... obviously, however, I need
to use HTML in my course. All of my examples are always in lower case. I
do, admittedly, use "onClick" or "onMouseOver" but converting these to all
lower case would be a no brainer.
In investigating XHTML these past couple of days, I've seen mention that you
cannot use --, &, or < in JS code in an XHTML document unless you place the
code inside CDATA tags, or some such thing, and that code hiding, using the
HTML comment inside the script or style tags is illegal ... that will take
more getting used to. External JS and CSS files are great, but there is
something to be said for quick and dirty scripts and styles embedded in the
document.
-------------------------------------------------------------
Steve Mount, Software Engineer steve(at)saltyrain.com
Home Site http://www.saltyrain.com
US Constitution Online http://www.usconstitution.net
Clear your Soul http://www.anonymousconfession.com
----- Original Message -----
From: "Anton Tagunov" <tae(at)newmail.ru>
To: "Steve Mount" <steve(at)saltyrain.com>
Cc: "LSN Bluff" <lsnbluff(at)hotmail.com>; <hwg-techniques(at)hwg.org>
Sent: Thursday, March 14, 2002 3:31 AM
Subject: Re[2]: Start with HTML or XHTML? (slightly OT)
> Hello Steve!
>
> SM> Always use lower case tags
>
> Do you teach that? Despite the documents will word
> they are not going to pass validation against DTD's
> are they?
>
> SM> and parameters.
>
> This has always been a pain for me - upper or lower -
> seems that even HTML DTD validation does allow lower,
> so go for lower everywhere?
>
> - Anton
>
>
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.