Yahoo Clever wird am 4. Mai 2021 (Eastern Time, Zeitzone US-Ostküste) eingestellt. Ab dem 20. April 2021 (Eastern Time) ist die Website von Yahoo Clever nur noch im reinen Lesemodus verfügbar. Andere Yahoo Produkte oder Dienste oder Ihr Yahoo Account sind von diesen Änderungen nicht betroffen. Auf dieser Hilfeseite finden Sie weitere Informationen zur Einstellung von Yahoo Clever und dazu, wie Sie Ihre Daten herunterladen.
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 Antworten
- Anonymvor 8 JahrenBeste Antwort
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.
- vor 8 Jahren
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 5vor 8 Jahren
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 6vor 8 Jahren
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.
- Wie finden Sie die Antworten? Melden Sie sich an, um über die Antwort abzustimmen.