| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|NBSP in H1 heading|
about H1 heading tag
| 11:39 am on Sep 10, 2007 (gmt 0)|
Just wanted to is it a good idea to put nbsp; in H1? Which is better
<h1>New York</h1> or <h1>New York</h1> according to search engine will it really effect the ranking?
| 1:57 pm on Sep 12, 2007 (gmt 0)|
Why would you choose to even use an nbsp;?
| 2:47 pm on Sep 12, 2007 (gmt 0)|
I don't think it would affect ranking. Try throwing both through the W3C's validator tool and let us know what happens.
| 2:53 pm on Sep 12, 2007 (gmt 0)|
No need to. It's a character entity and represents a non-breaking space. There would be no need to have that there in most instances but...
If there are two asp variables back to back, a nbsp; is required to "add the space".
I've seen people misuse it in a scenario to prevent wrapping of two words on one line. I believe using nowrap via CSS is the best method.
This entity is also generated frequenly by WYSIWYG Editors and I see it come into place when you have more than one space back to back. Some designers use it to force space, yikes!
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved