What features create Div and Span tags? Well, FrontPage has quite a few
features, hundreds of them in fact. I don't think I could enumerate them
all. For example, FrontPage supports pasting converted HTML from other
document types. So, depending on the document type, you will get a variety
of tags automatically generated by the conversion. And FrontPage has a
number of editor features that created DIV and Span tags, including, but not
limited to by any means, the features for inserting Div and Span tags, and
the "Layer," as FrontPage calls it, which is, of course, a Div. If you
change a font style in the middle of a paragraph, depending upon the
circumstances, FrontPage may or may not use a Span tag. And so on.
Actually, "Simple HTML" IS an oxymoron. There is nothing simple about HTML,
for at least 5 to 10 years now, and it gets more complicated by the year.
When HTML was first created, the only kind of documents on the "web" as we
now call it, were text documents. The original HTML did little else other
than formatting text. Of course, with the ever-increasing popularity of the
WWW, and the market demand for more and more functionality, this has changed
considerably over the years. And, as HTML was not designed to be extensible,
the rules for it became more and more complicated.
The situation regarding the complexity of the rules for HTML has gotten so
bad that new document formatting standards are in the works, including, most
notably, and promisingly, XML and XHTML. "XML" stands for "eXtensible
HyperText Markup Language," and it is what it stands for. While HTML was
developed with loose and complex rules, and little convenience for
extensibility, XML has a strict but simple set of rules, and is infinitely
extensible. So, in the future, look for XML, XHTML, and other derivations of
XML to replace HTML on the WWW. Eventually. Of course, "eventually" in
computer terms means decades, not centuries.
In the meantime, I can offer you 2 possible courses of action:
1. Don't worry about the small stuff. What do you care what HTML tags are in
the text of your documents, as long as they look good? Let FrontPage make
your decisions for you. But be cautioned: HTML is always going to look
different on different machines. If you wish, get acquainted with several
browsers, and get a passing knowledge of the most common HTML tags, and what
they do. In other words, practice.
2. Rely on FrontPage and other HTML editing tools to do as little as
possible in terms of formatting. Instead, use external CSS style sheets,
which isolate your style from your HTML, and make it easier to control. This
will require, at the bare minimum, a pretty strong grasp of CSS, and, if at
all possible, a good CSS editor program. Among the best, I can recommend
TopStyle (
http://www.bradsoft.com/topstyle/index.asp).
Finally, to quote Ash (the robot) from the movie Alien: "You have my
sympathies."
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Big things are made up of
lots of little things.