[lug] speaking of HTML validation and validator.w3.org

D. Stimits stimits at idcomm.com
Sun Jun 30 19:13:28 MDT 2002


I'm trying to update some html pages, not so much because I have to, but
because I hate bad code. I have not yet found an answer to some email
tags. What it is is a link for bringing up an email window, that
contains a pre-written subject and body. The subject part is easy to do
and keep valid:
  <A HREF="mailto:somebody at somewhere.com?Subject=blah">
     Email This
  </A>

The extension to this is the template body text, e.g., suppose I want it
to open with subject of "blah", and body of "foo bar", I write this:
  <A HREF="mailto:somebody at somewhere.com?Subject=blah?body=foo bar">
     Email This
  </A>

Only thing is that the w3 validator says "body" is an unknown entity. I
have tried both upper case and lower case for "Body" or "body", it makes
no difference (as I expected). Perhaps the fact that it is set as HTML
4.0 Transistional matters, I don't know. Can anyone tell me if there is
a w3.org "officially accepted" way of creating a body text for an email
anchor HREF?

D. Stimits, stimits at idcomm.com



More information about the LUG mailing list