<H1> to <H6> tags are used for denoting headings. Hence HTML always makes sure that the heading is in its own line [atleast most browsers do].
This situation will prevail, even if you remove the style declaration for your <h3>.
However, if all you need is to set "bold" style on one of your words, why don't you try this ?
If you are learning CSS/HTML I would keep clear of the "p" tag as it adds spacing after it automatically and all styles you place on the p element have been depreciated.
"All "presentation attributes" of the p element were deprecated in HTML 4.01, and are not supported in XHTML 1.0 Strict DTD" <-- This is from w3schools as well.
I usually wrap a paragraph or paragraphs in a div. I can define my own styles and such on the paragraph(s) without effecting the rest of the page. Anytime I mix divs and classes with the p tag I always end up with spacing issues when it comes to cross browser friendlyness.
I hope that helps. I think your other issues were already addressed.
~Currently preparing for SCJP6
Joined: Mar 23, 2009
Thanks Brian. I will keep in my mind while coding.
My other issue is still open. I think I am not being able to explain properly.
I will try again in my other post.
But I really appreciate everyone's help in here.
subject: Using CSS font - the text moves to second line