Forum Moderators: not2easy
While I'm generally in favor of using the tags instead of wrapping everything in divs etc, I'm not sure if this isn't going to become a misguided effort at stuffing keywords in a <h1>
I fit's a title and a subtitle, I'd suggest a <h1> and a <h2> instead of the line break.
Also <H1> isn't proper xhtml, while <br /> is ... what doctype are you using ?
Are you saying use external CSS?
Swa66,
At the moment I am using two H1 tags, but I think it would be better to have one H1 tag and use a <BR> tag to separate the phrases. The two H1 tags are used before the main text of the page. I think Google likes one H1 tag more?
The doctype is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional
I am not sure what would be the best heading tag to use with this doctype. Can you please tell me?
I think we've had this query recently elsewhere... Keyword stuffing in h1 (or multiples) and backing down to two phrases keyword stuffed with a br... misremembering?
No matter.
h1 is title/description of page, no matter how many words (use too many at your own SEO peril) and then follow with appropriate h2
STYLE h1, h2, h3 etc in css either in doc or external.
The hx tag don't make the page... the CONTENT does. H1, widget description, maybe an image, and get on with the next page! No rocket science involved... but PRODUCTION of pages is.
Given you use an xhtml doctype, you need to use lowercase tags. not <H1> but <h1>.
To make it compact: add a link in the header
to an external stylesheet that contains
<link rel="stylesheet" type="text/css" href="/style.css" />
h1 {
text-align:center;
font-family: Verdana;
font-size: 20pt;
}
I'd make the font-family a list ofr those not having Verdana installed. E.g.:
h1 {
text-align: center;
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 20pt;
}
<h1>Text Here<br />More text</h1>
[edited by: swa66 at 3:28 am (utc) on Nov. 7, 2008]
Is it better to use a - or : instead of a <br /> tag and put the two phrases of the h1 tag on the same line instead of on two lines? I mean the affect in the SERP?
I would appreciate if someone could help me with this.