|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
<h1> Heading and forcing a font size
Hi,
I often create page headers using the H1 tag and then often assign a font size to the same peice of heading text. If I do this will it affect the "header" effect with regards to pagerank. A better way to put it, will Google still see a big bold page header or will it realise that the header in fact has been tampered with and now has a smaller font size. Thanks! Gary.
__________________
www.your-loan.net |
|
#2
|
|||
|
|||
|
Here is an example of a heading:
<h1><font size="3" face="Arial, Helvetica, sans-serif">Hello big bold world<font color="#FF0000">Red</font> <font color="#FF9900">Amber</font> <font color="#00CC00">Green</font> insurance services</font></h1> |
|
#3
|
||||
|
||||
|
Use CSS if you think that it may affect it.
|
|
#4
|
||||
|
||||
|
excellent question
i have wondered about this myself......... any thoughts out there?
does google still recognise the <h1>? My guess would be that it's still the same... |
|
#5
|
||||
|
||||
|
<h1> is still <h1>
but I would definitely use CSS so it doesn't look like H1
__________________
www.spiralxdesign.com |
|
#6
|
||||
|
||||
|
I agree, CSS is by far the best way to manipulate the header tags. To be safe, exclude the .css file in your robots.txt file, just in case the robots will start crawling .css files in an attempt to discover manipulation.
__________________
Darrin J. Ward, Original Founder of SEO Chat (this site), Google Dance Tool & some other cool stuff! ** Get a Free ChatBox - ChatButton. |
|
#7
|
||||
|
||||
|
Quote:
oooo good idea... yes.. ok let's add that to the robots file... zen 8)
__________________
www.kidoimages.com web development www.kidomedia.com multimedia enhancements |
|
#8
|
||||
|
||||
|
Add the external javascript files while your at it lol.
|
|
#9
|
||||
|
||||
|
Quote:
I seem to recall at an SES conference last year, Google said they were crawling or planning on crawling CSS files, as did FAST. And if there is a suspected problem, they would manually do so. Not that they didn't already know, but when the guy stood up and asked "Uh, can I hide things in CSS and will you see them?", I think it might have made them think twice. J-Net |
|
#10
|
||||
|
||||
|
So, does H1 copy still get prioritized in the Google engine? It's easy enough to put keywords into H1, then put it back to normal using CSS - But does it really have an effect? thanks, Dave
|
|
#11
|
||||
|
||||
|
If you define the font size for the <h1> directly on the page, the <h1> is no longer relevant.
The browser reads right to left as we do, so it will see <h1> then see <font> andf cancel out the <h1> <h1>s must be defined in CSS |
|
#12
|
||||
|
||||
|
Quote:
Sorry ragos but this is the perfect example of what NOT to do. |
|
#13
|
||||
|
||||
|
Can someone please show an example on how to do it right. Like what do I put in the CSS file, and how I import it in html? Thanks!
|
|
#14
|
||||
|
||||
|
Here is a quick example how to implemet a css file with the H1 heading pre formated and the robots file to exclude your .css file.
Create a file with the name - lets say style.css. In that file paste this code for H1: H1 { font-family: Verdana, Arial, Helvetica, sans-serif; color: #000080; text-decoration : none;} In your web page put this code in the <head>section</head> to include your style sheet: <link rel="stylesheet" href="style.css" type="text/css"> A very detailed css validator can be found at: http://www.webreview.com/style/css1/charts/mastergrid.shtml And finally the infamous robots file. User-agent: * Disallow: style.css A very down to earth tutorial on robots.txt is at: http://www.searchengineworld.com/robots/robots_tutorial.htm robots.txt I hope this example helps
__________________
Affordable SEO and web design services from Thailand simple-biz.com |
|
#15
|
||||
|
||||
|
Quote:
Confiden, here is the markup I generally use for header tages on my CSS files. h1 {font-size: 15px; font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; text-align: left; color: #000080; word-spacing: 0; text-indent: 0; line-height: 100%; margin: 0; padding: 0} Hope this helps.
__________________
Soli Deo Gloria, Tony |
![]() |
| Viewing: SEO Chat Forums > Search Engine Strategies > Search Engine Optimization > <h1> Heading and forcing a font size |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|