Forum Moderators: open
<font size="#"> where the # is 1-7, 1 being the smallest. Standard text on a web page is in size 3 to give you an idea of the number system. When you use the font tag you can open and close it as many times as you want without the line breaking until you want it to.
or...
h1,h2,h3,h4,h5,h6{margin-top:0px;margin-bottom:0px;}
It all depends on what you are up to and whether or not you are familiar with css. I would not recommend using <font> tags in today's advancing web design environment, they are deprecated. Still used quite a bit, but still deprecated.
If I'm not mistaken, some older browsers may have a problem with inline css, particularly NN4.x which we don't talk about that much anymore, its a bad word anyway. Usage is currently at 2% or less globally.
Use the code validator at [validator.w3.org...] to check your code. Tick the box for show document outline, and then scroll down to Outline in the results screen. If what is shown there is not a summary of your document then you are probably abusing the tags.
I was reading about XHTML 2.0 yesterday, and there are signs that the Hn tag scheme may be on the way out.
XHTML 2.0 does, however, lay the ground work for their [numbered headers] deprecation by adding section and [unnumbered] h elements.The conceptual problem with h1-h6 headers has always been that they aren't container elements; they don't create a section, merely announce the change of section by some special rendering of the section's title. But document sections or segments are often explicitly construed as named or unnamed containers in other XML or SGML applications.
O'Reilly's XML.com article [xml.com]