Is it okay to put formatting within the <h1> tag? Example: <h1><font size=2><b><i>blah blah blah</b></font></i></h1> The reason I am asking is because the <h1> font comes up BIG & UGLY on my site. I'm not sure, but I think it has to do with my css stylesheets, but I just can't figure out how to fix.
you would be better doing it with the css like this h1 { font-family: Georgia, "Times New Roman", Times, serif; font-size: 18px; font-weight: bold; color: #000000; } with the font-size: 18px; you can change the size so its not big
Use css for doing something like this.. For instance: h1 { font: bold 12px Arial, Tahoma, sans-serif; } Then use the H1 tag in your website. Also don't use the bold and italic tag in H1, also use this in css style.
Well css could help you to get out of this problem... i guess you are quite new to the webdesigning... i would like to tell you that you better give some time to yourself in learning the basics of css... and you would really love to make the pages later on. Take care Manish
Use this in your H1 for italic. h1 { font: italic bold 12px Arial, Tahoma, sans-serif; } And check http://www.w3schools.com/css/ and http://www.w3.org/Style/CSS/ to learn css
Not that new to webdesigning, but not a guru either. But webdesign is not my business, only small part of running my retail biz. Did you happen to look at my site in my sig?
Also, use... <h1>This is Kevins title</h1><p>This is some text from Kevin</p><h2>Sub title from Kevin</h2><p>this would be some more text</p> I've found <p> to help me a lot... same as h2...
One more thing I just thought about or rather, wanted to share. What I usually do is, turn off all the style sheets and see how the page reads without CSS. If it reads nicely from top->to->bottom I am usually happy. <h1> <h2> <p> tags are really important when there are no styles sheets, unless you are using tables to style… but… yes.
Use- .h1style { text-decoration: none; margin-top: 0; margin-bottom: 0; } Use margin-top and margin-bottom otherwise you'll have space.
Formatting H1 tags with html will devalue them. You definitely want to keep the h1 tags clean and use css.