do****@doctor.nl2k.ab.ca (The Doctor) wrote:
Is there a way to do this??
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.
I would like to stay away from XML is possible.
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 ·) 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