|
ou812 -> H1 Tag and CSS (1/23/2005 0:45:00)
|
Okay, still much to learn with CSS. So here goes.... I would like to use an H1 tag (for SEO purposes) but with CSS so that it looks how I want it to look. When I define an H1 CSS tag and then use it, it acts like a headline. Meaning it places line breaks around it (which is I'm sure how it should act). But I want to have the H1 text be some words in a sentence in a paragraph but to stand out more but still be part of a sentence. Something that would look like this: quote:
This is my sentence and MY H1 TAG is part of this sentence. But, when I do this it ends up looking like this: quote:
This is my sentence and MY H1 TAG is part of this sentence. This is done if I do my HTML something like this: <span class="text">This is my sentence and</span><H1>My H1 Tag</H1><span class="text"> is part of this sentence.</span> If I play with the tags a bit I can get it to look right but I'm thinking it is not a good idea to do it this way because my H1 is much larger (SEO unfriendly) than it should be. <H1><span class="text">This is my sentence</span>MY H1 TAG<span class="text">is part of this sentence.</span>/<H1> I hope I'm making some sense.... So, is there a right way, or better way to do what I'm looking for, that is also SEO friendly? thanks!
|
|
|
|