In article <DEn60...@cs.dal.ca
(Richard Akerman) writes:
> <IMG SRC="images/left.gif" ALT="[ <- ]" ALIGN=MIDDLE>
> Back to my Home Page</A>
>or do Anchors and/or IMGes need to be in a Paragraph <P>container</P>?
_Strictly_, everything needs to be in a container, AFAIK.
There are programs that validate your HTML. Details are posted here
frequently. If you want to know the _strict_ rules, run a formal
validator against your test case. Even the experts occasionally give
wrong answers on usenet, and I'm no SGML / HTML expert.
Does anyone write _strict_ html, other than as the formal output
of some processor? ;-}
However , allow me to make two points on the side about your HTML.
Putting angle brackets into an ALT text is a fraught activity.
Some browsers will parse the angle brackets as HTML delimiters.
On the other hand, if you try to circumvent that by coding them
as < and > (which is perfectly correct HTML), some browsers
will fail to render those entities. So you can't win. This is
one of those irritating situations where "writing correct HTML"
does not solve the problem. Hassle those browser writers to fix
My second point is your use of the word "Back". That always
annoys me: you have no idea whether I have ever previously
visited your home page, so it makes no sense to invite me to
go "back" to it. Anyway, the browser has a "Back" function:
naive users get confused by re-use of this word to mean something
different. (In my experience... I know some people disagree).
"To my home page"
"My home page"
"Visit my home page"
Trust your readers to recognize a link when they see one, and to
know what to do with it. Don't be tempted to put "Click here", ok?