Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
how to i stop <h1></h1> adding a link break before and after its use?
Hint:This is a css question.
I want to use <h1> for Seo (search engine optimisation) reasons.
5 Answers
- Anonymous8 years agoFavorite Answer
It is a Heading. It is meant to stand alone.
This is not a CSS question.
Using <H1> for Seo (search engine optimisation) reasons is a waste of time as is most SEO voodoo.
- 8 years ago
What stone said is correct. I just want to point out that using an H1 for anything other than it's intended purpose is a black hat SEO trick. The bots that are out there are smart enough to tell. It will get you black-listed.
The best thing to do for SEO is concentrate on content per page, and use your markup in a semantically correct way.
- Dave PLv 58 years ago
Heading tags are usually treated as block elements and so are followed by a new line by default. This can be overridden by including a style rule to make them inline:
h1
{
display:inline;
}
If the heading's surrounded by other block elements, you may need to set their style to inline also.
- stoneLv 68 years ago
http://www.aptana.com/reference/html/api/CSS.eleme...
Copy what they have into your css... start making changes...
Example.... change font to smaller number
change padding... to smaller number, or maybe try "0px"
You can style anything that you want...
But if you're posting garbage, google will rate you poorly.... in spite of your h1 tag.
rather than using "black hat", try researching your subject... and then learning how to write intelligibly.
- How do you think about the answers? You can sign in to vote the answer.