Hallo,
First, this is clearly the wrong group for a question like this, the
experts on HTML are in different groups.
tony.johansson said:
The <h1> tag specifying a level one header but not really how this header
should be displayed(content tag)
The <b> tag on the other hand does not specify the content but only that it
should be displayed in a bold type face(presentation tag)
AFAIR, the terms are structural and preentation, not content and
presentation.
I don't understand this. By using a h1 tag you tell the size of the text and
by using a bold tag you tell that the text should
be bold.
No, that's not correct.
The semantics of <h1> say that it is a headline of highest level.
It is correct that some graphical browsers render <h1> by increasing the
font size by default. (But this usuall breaks at least at the h3 or h4
level...)
But there are other options like using a different font, underlining,
changing the color. Some browsers (w3m, lynx, or braille displays or
audible browsers for visually impaired) even have no concept as "font
size", but they have their representation for Headlines (e. G. a
different voice to read them).
And even if your browsers default behaviour is just to increase the
font size, most graphical browsers allow to override this behaviour
either through user preferences, user supplied CSS, or CSS delivered by
the web site.
To increase the font size, use tags like <huge>, <font size="+42"> or
- even better - CSS.
The semantics of <b> say to use a boldface font, that's correct - at
least if the browser has the technical possibility to display it
boldface.
There is another difference between <b> and <h1>: The former one is for
a span of characters, the other one creates a new layout block
(linebreak etc.). But even this can be overridden using CSS.
So I can't see why you can say that a <h1> tag is a content tag and a <b>
tag is a presentation tag ?
Just read the HTML specifications for the defined semantics, instead of
selecting arbitrary aspects of your preferred browsers behaviour and
tread them as defined semantics.
Gruss,
Markus