Connecting Tech Pros Worldwide Forums | Help | Site Map

REpresenting chemical Structures in HTML

The Doctor
Guest
 
Posts: n/a
#1: Jul 24 '05
Is there a way to do this?? I would like to stay away from XML is possible.
--
Member - Liberal International
This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
UK as 5 May 2005 approaches, vote LDem!!

Jukka K. Korpela
Guest
 
Posts: n/a
#2: Jul 24 '05

re: REpresenting chemical Structures in HTML


doctor@doctor.nl2k.ab.ca (The Doctor) wrote:
[color=blue]
> Is there a way to do this??[/color]

Please start with explaining the question in the message body. Do not
imply anything you said on the Subject line; the Subject line is like
text on an envelope.
[color=blue]
> I would like to stay away from XML is possible.[/color]

You need to explain in more detail what you mean by "REpresenting
chemical Structures". Usually examples are useful in explaining
such things.

But as the first rough approach to an answer,
- anything you write in a linear notation can usually be written
in HTML sufficiently well (e.g., H<sub>2</sub>O)
- anything two-dimensional is probably best presented as an image
or some other embedded object.

For example, see
http://scienceworld.wolfram.com/chem...Strengths.html
which unnecessarily uses an image, inside text, to present a linear
formula (perhaps because the author did not know about &middot;) and
http://scienceworld.wolfram.com/chem...Stability.html
which contains two-dimensional formulas for which an image is needed.
(Though the page incorrectly leaves out the alt attribute.)

See also: "Math in HTML (and CSS)",
http://www.cs.tut.fi/~jkorpela/math/

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Closed Thread