Webmaster Forum

Go Back   Webmaster Forum > Marketing Forums > SEO Forum

SEO Forum Search engine optimization discussions.


Reply
 
LinkBack Thread Tools Display Modes
Old 11-21-2007, 07:24 AM   #1 (permalink)
Junior Member
 
Join Date: 11-12-07
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

pavlick is liked by many
Question Div tags in links

Please, help me to figure out: is it OK to put DIV tag into link like this:

<a href="http://some_url" title="test">
<div class="homepage_block_title homepage_block2_title">
<h1>Click here</h1>
</div>
</a>

Will it influence the search spider? will the link be indexed?

Thanks.
pavlick is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-21-2007, 11:04 AM   #2 (permalink)
Contributing Member
 
poksa's Avatar
 
Join Date: 07-12-07
Posts: 511
iTrader: 0 / 0%
Latest Blog:
None

poksa is liked by somebodypoksa is liked by somebodypoksa is liked by somebodypoksa is liked by somebodypoksa is liked by somebody
hmmm.... I've never try that one..
poksa is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-21-2007, 11:10 AM   #3 (permalink)
Contributing Member
 
redeemer_spawn's Avatar
 
Join Date: 09-21-07
Posts: 746
iTrader: 0 / 0%
redeemer_spawn is liked by many
Based form my readings putting DIV tags will brings your code closer to Web standards compliance.,all while making your website more appealing to search engine spiders.,
__________________
Hot and Sexy Celebrity

Cabal Online is where I live
redeemer_spawn is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-21-2007, 11:15 AM   #4 (permalink)
Senior Member
 
Join Date: 09-06-07
Posts: 761
iTrader: 0 / 0%
corlock is on the right pathcorlock is on the right path
This does not affect the spiders actually and I don't think that with just that kind of link will be indexed because sites are being indexed. maybe you are referring that bots might still read it, right? there's no problem with it, don't worry, it will still be crawled. after all, div is also like css, actually its a css but only inline...
corlock is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-21-2007, 05:20 PM   #5 (permalink)
Contributing Member
 
Steven_D's Avatar
 
Join Date: 09-02-07
Location: In my own little world
Posts: 489
iTrader: 1 / 100%
Steven_D is liked by somebodySteven_D is liked by somebodySteven_D is liked by somebodySteven_D is liked by somebody
<div class="homepage_block_title homepage_block2_title">
<a href="http://some_url" title="test">
</a>
</div>

The H1 tags shouldn't be inside a link, and the div should be on the outside of the link. as above.

and, if you are using the div just for formatting purposes, you can actually assign class information to the H1 tag in the style sheet as below

h1 {
margin: 0;
padding: 0;
FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: arial, verdana, helvetica, sans-serif; TEXT-DECORATION: none; font-weight: bold; text-align: justify
}

There is a really sweet FF plugin that will check the code on pages you are visiting. It is a little anal, it says that on this page there are 37 warnings and I only have it on HTML check no the SGML parser.

just install it then browse over your site, you will see what conforms to w3 standards.

The link for the FF plugin is on Bogeys blog http://wedevoy.blogspot.com/ and it is definitely worth the install. One of the best FF plugins if you are doing development work.
Steven_D is offline  
Add Post to del.icio.us
Reply With Quote
Old 11-22-2007, 10:54 AM   #6 (permalink)
Contributing Member
 
redeemer_spawn's Avatar
 
Join Date: 09-21-07
Posts: 746
iTrader: 0 / 0%
redeemer_spawn is liked by many
Same here in formatting purposes for Div I've done the same thing and sometimes I group them also to have similar display in just calling one function.,
__________________
Hot and Sexy Celebrity

Cabal Online is where I live
redeemer_spawn is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Marketing Forums > SEO Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use of H1 vs. H2 tags catman SEO Forum 22 09-03-2007 08:04 AM
I need help with tags robertjames81 Blogging Forum 5 04-10-2007 04:28 AM
SEO and img alt tags Chris1974 SEO Forum 22 08-09-2006 04:31 AM
Use of H1 tags GeXus SEO Forum 10 08-04-2004 07:51 AM
<div> tags??? Pretend Coding Forum 7 11-12-2003 02:43 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 08:35 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.