HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old February 12th, 2007, 01:07 AM
samirindia samirindia is offline
Permanently Banned
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Posts: 47 samirindia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 35 m 27 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Onpage seo HTML or XHTML or Div.

What is best for onpage seo HTML or XHTML or Div.
What you people think. about.. it.
Thanks

Reply With Quote
  #2  
Old February 12th, 2007, 02:35 AM
seodilip's Avatar
seodilip seodilip is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2006
Location: India
Posts: 273 seodilip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 2 h 5 m 58 sec
Reputation Power: 3
Send a message via MSN to seodilip Send a message via Yahoo to seodilip Send a message via Google Talk to seodilip
Facebook MySpace
I think Div will be better option
__________________
Thanks & Regards,
Dilipkumar Rajpurohit
(seodilip4u)
Ahmedabad, Gujarat, India.
SEO Expert India Online Industrial & Business Supplies Store

Reply With Quote
  #3  
Old February 12th, 2007, 05:02 AM
fernandoSEO fernandoSEO is offline
Fernando SEO Barcelona
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2006
Location: Barcelona
Posts: 152 fernandoSEO User rank is Private First Class (20 - 50 Reputation Level)fernandoSEO User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 19 h 26 m 42 sec
Reputation Power: 2
If you use an external file(css) with DIV you can have a very clean HTML code. Your design code will be in an external file so Google will read your site faster and better



Quote:
Originally Posted by samirindia
What is best for onpage seo HTML or XHTML or Div.
What you people think. about.. it.
Thanks

Reply With Quote
  #4  
Old February 12th, 2007, 11:10 AM
ClickyB's Avatar
ClickyB ClickyB is offline
Scru u guys I'm goin home
Click here for more information
 
Join Date: Mar 2004
Location: Gloucester (South West UK).
Posts: 3,888 ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Months 2 Days 9 h 35 m 30 sec
Reputation Power: 50
You should really "compare apples with apples".

HTML or XHTML:
No noticeable differenceto SEO.

Div's or Tables:
Whilst div's do reduce code, the benefit to site optimisation is really minimal (considering that you can use CSS with either, so even tables need very little on-page code).

However - the biggest "SEO" benefit of Div's is that you can present your content in a different order in your code to that which appears on your page; so internal sitelinks which appear at the foot of your page can be the first thing in the code... Similarly 3rd party ad's which appear at the top of the page can be the last thing in your code... etc etc

I agree with fernando that CSS should be in an external file - this makes more difference to filesize than anything else (but of course filesize is only an issue on larger pages).
Comments on this post
tstolber agrees: Thats right!
__________________
ClickyB
"The quality of the visitor is more important than the volume".. Egol 22nd Feb 2008
New to SEO? Start Here: SEO FAQ
Forum Rules & Posting Guidelines

Reply With Quote
  #5  
Old February 12th, 2007, 11:14 AM
tstolber's Avatar
tstolber tstolber is offline
Contributing User
Click here for more information.
 
Join Date: Jul 2004
Location: Bedfordshire
Posts: 2,522 tstolber User rank is Sergeant (500 - 2000 Reputation Level)tstolber User rank is Sergeant (500 - 2000 Reputation Level)tstolber User rank is Sergeant (500 - 2000 Reputation Level)tstolber User rank is Sergeant (500 - 2000 Reputation Level)tstolber User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 9 h 34 m 12 sec
Reputation Power: 24
Send a message via MSN to tstolber Send a message via Google Talk to tstolber Send a message via Skype to tstolber
Yep, I agree with ClcikyB.

I am an avid user of XHTML and don't use anything else because with an external CSS 2.0 file it is a realy good manageable solution for producing web sites.

That being siad it does not produce noticeable differences in SERPs. I would say that I have noticed that all of my XHTML sites perform much better in MSN than in any other engine stright away. So in this case I would assume that MSN likes XHTML and the code layout I use. I would not base the choice of XHTML or HTML purely on an SEO point of view.
__________________
SEO Tutorials for Beginners, SEO News, SEO Testing


Call me on Skype and get SEO advice now - skype name "tstolber"

The Truth about META TAGS

Reply With Quote
  #6  
Old February 12th, 2007, 01:14 PM
MaxPowers MaxPowers is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 47 MaxPowers User rank is Private First Class (20 - 50 Reputation Level)MaxPowers User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 11 h 48 m 13 sec
Reputation Power: 3
XHTML is simply a "more grammatically correct" way of using HTML... if HTML is "Hey, What's up?", then XHTML is "Hello, how are you today?". This additional rigidity to the structure means that folks usually pay more attention to what they are doing with the code which may be responsible for better ranking. It's likely slimmer in size and contains fewer coding errors making it easier and more reliable for spiders to crawl.

Div's are a tag used in both languages and simply "create blocks" on your page that can be moved around and managed independently. Updating code is easier and the comments above about positioning the code are way better than what tables offer a website.

Save tables for tabular data and use divs for layout - my 2 cents

Reply With Quote
  #7  
Old February 12th, 2007, 09:39 PM
samirindia samirindia is offline
Permanently Banned
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Posts: 47 samirindia User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 35 m 27 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Hey...
So i think div is better for seo..

first div then xhtml. am i right. ?

Reply With Quote
  #8  
Old March 18th, 2007, 08:04 AM
Adrian111 Adrian111 is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 12 Adrian111 User rank is Private First Class (20 - 50 Reputation Level)Adrian111 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 12 sec
Reputation Power: 0
Quote:
Originally Posted by ClickyB
However - the biggest "SEO" benefit of Div's is that you can present your content in a different order in your code to that which appears on your page; so internal sitelinks which appear at the foot of your page can be the first thing in the code... Similarly 3rd party ad's which appear at the top of the page can be the last thing in your code... etc etc
can you point me to a site that uses this? I would like to see the code and modify my pages to work as you said. or a link where this div technique is explaind would be awsome. thanks!

Reply With Quote
  #9  
Old March 18th, 2007, 09:02 AM
fathom's Avatar
fathom fathom is offline
Nuke Your Metas Tags!
Click here for more information.
 
Join Date: Mar 2003
Location: Saskatoon, Saskatchewan, Canada
Posts: 8,667 fathom User rank is Second Lieutenant (5000 - 10000 Reputation Level)fathom User rank is Second Lieutenant (5000 - 10000 Reputation Level)fathom User rank is Second Lieutenant (5000 - 10000 Reputation Level)fathom User rank is Second Lieutenant (5000 - 10000 Reputation Level)fathom User rank is Second Lieutenant (5000 - 10000 Reputation Level)fathom User rank is Second Lieutenant (5000 - 10000 Reputation Level)fathom User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Months 6 Days 8 h 59 m 57 sec
Reputation Power: 69
Send a message via ICQ to fathom Send a message via AIM to fathom Send a message via MSN to fathom Send a message via Yahoo to fathom Send a message via Google Talk to fathom Send a message via Skype to fathom Send a message via XFire to fathom
Well w3school is basic css

an one advance http://www.usabilityandbranding.com

Reply With Quote
  #10  
Old March 18th, 2007, 10:58 AM
Adrian111 Adrian111 is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 12 Adrian111 User rank is Private First Class (20 - 50 Reputation Level)Adrian111 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 12 sec
Reputation Power: 0
Quote:
Originally Posted by fathom
Well w3school is basic css
I think you meant w3schools but I found the site easily. thanks!
Comments on this post
fathom agrees: Seriously they only have 1 school! :-)

Reply With Quote
  #11  
Old July 20th, 2007, 01:26 PM
Adrian111 Adrian111 is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 12 Adrian111 User rank is Private First Class (20 - 50 Reputation Level)Adrian111 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 12 sec
Reputation Power: 0
Quote:
Originally Posted by ClickyB
However - the biggest "SEO" benefit of Div's is that you can present your content in a different order in your code to that which appears on your page; so internal sitelinks which appear at the foot of your page can be the first thing in the code... Similarly 3rd party ad's which appear at the top of the page can be the last thing in your code... etc etc
sorry to bump this thread...I went to w3schools and found out a lot about css and I'm using divs now. but I still don't know how to put a 3rd party ad the last thing in my code but still let it show up as the first thing on the page. please be more specific with a link that exactly explains this or point me to a site that is already using it so I could take a sneak peak. thanks!!

Reply With Quote
  #12  
Old July 20th, 2007, 01:56 PM
toinkzzz toinkzzz is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jun 2007
Posts: 259 toinkzzz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 20 h 24 m 54 sec
Reputation Power: 2
table less pages with external css and javascripts is really fine!

Reply With Quote
  #13  
Old July 23rd, 2007, 03:42 PM
expat's Avatar
expat expat is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 355 expat User rank is Lance Corporal (50 - 100 Reputation Level)expat User rank is Lance Corporal (50 - 100 Reputation Level)expat User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 5 Days 14 h 49 m 22 sec
Reputation Power: 4
Quote:
Originally Posted by MaxPowers

Save tables for tabular data and use divs for layout - my 2 cents


I agree completely -- much faster, cleaner code.
__________________
Pandora Bracelets and Jewelry

Reply With Quote
  #14  
Old July 26th, 2007, 09:28 AM
richweb2007 richweb2007 is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jun 2007
Location: NJ
Posts: 10 richweb2007 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 52 m 46 sec
Reputation Power: 0
Send a message via Yahoo to richweb2007
Quote:
Originally Posted by fernandoSEO
If you use an external file(css) with DIV you can have a very clean HTML code. Your design code will be in an external file so Google will read your site faster and better


Yes this is the best option !!

Reply With Quote
  #15  
Old July 30th, 2007, 12:52 PM
Adrian111 Adrian111 is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 12 Adrian111 User rank is Private First Class (20 - 50 Reputation Level)Adrian111 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 12 sec
Reputation Power: 0
I wasn't able to find a way to put my text from the bottom as the first thing in the html code, but I found a way to completely hide a div with css.
so now I have a lot of relevant text in a div as the first thing in the code but it can't be seen at all by my surfers. is this an ok practice or will I be penalized somehow?!

Reply With Quote
Reply