Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

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 Dev Shed Forums Sponsor:
  #1  
Old August 15th, 2005, 06:23 PM
EAD's Avatar
EAD EAD is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: an hour away from L.A., California
Posts: 132 EAD User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 11 m 40 sec
Reputation Power: 6
are alt tags or less code more important?

Which scenario would be more beneficial...

Code:
<td><img name="empty" src="/images/nav/empty.gif" width="200" height="36" border="0"><a href="/about/index.html" onMouseOut="MM_swapImgRestore();"  onMouseOver="MM_swapImage('about','','/images/nav/about_f2.gif',1)" ><br>
      </a><a href="/about/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('about','','/images/nav/about_f2.gif',1)"><img src="/images/nav/about.gif" alt="About Us" name="about" width="176" height="25" border="0"></a><a href="/about/index.html" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage('about','','/images/nav/about_f2.gif',1)" > 
      </a><a href="/books/index.html" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage('books','','/images/nav/books_f2.gif',1)" ><br>
      </a><a href="/programs/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('programs','','/images/nav/programs_f2.gif',1)"><img src="/images/nav/programs.gif" alt="Yoga Teacher Training and Certification, Thai Yoga Training, plus other programs" name="programs" width="176" height="25" border="0"></a><a href="/books/index.html" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage('books','','/images/nav/books_f2.gif',1)" > 
      <br>
      </a><a href="/books/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('books','','/images/nav/booksNewR.gif',1)"><img src="/images/nav/booksNew.gif" alt="Yoga Books, Yoga CDs, Yoga DVDs" name="books" width="176" height="25" border="0"></a><a href="/books/index.html" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage('books','','/images/nav/books_f2.gif',1)" > 
      </a><a href="/library2/index.html" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage('library','','/images/nav/library_f2.gif',1)" ><br>
      </a><a href="/directors/ganga/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('directors','','/images/nav/directors_f2.gif',1)"><img src="/images/nav/directors.gif" alt="Directors Ganga White and Tracey Rich" name="directors" width="176" height="25" border="0"></a><a href="/library2/index.html" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage('library','','/images/nav/library_f2.gif',1)" > 
      <br>
      <img src="/images/nav/library.gif" alt="Library - Yoga Articles, Yoga Interviews, Yoga Newsletters" name="library" width="176" height="25" border="0"> 
      </a><a href="/library2/index.html" onMouseOut="MM_swapImgRestore()"  onMouseOver="MM_swapImage('library','','/images/nav/library_f2.gif',1)" > 
      <br>
      </a><a href="/contact/mailing_list.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('email','','/images/nav/email_f2.gif',1)"><img src="/images/nav/email.gif" alt="Email News" name="email" width="176" height="25" border="0"></a> 
      <br> <a href="/about/phototour/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('phototour','','/images/nav/phototour_f2.gif',1)"><img src="/images/nav/phototour.gif" alt="Photo Tour" name="phototour" width="176" height="25" border="0"></a> 
      <BR></td>


or... replace all of this with SSI
Code:
<!--#include virtual='/leftNav.inc' -->


The code contains descriptive alt tags so I want to weigh the benefit of those against the benefit of having less code on the page.

Thanks, Emily

Reply With Quote
  #2  
Old August 17th, 2005, 07:52 AM
sonjay sonjay is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Sunny Florida
Posts: 77 sonjay User rank is Corporal (100 - 500 Reputation Level)sonjay User rank is Corporal (100 - 500 Reputation Level)sonjay User rank is Corporal (100 - 500 Reputation Level)sonjay User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Week 5 Days 22 h 39 m 2 sec
Reputation Power: 8
What does leftNav.inc contain?

Reply With Quote
  #3  
Old August 17th, 2005, 08:14 AM
ran_dizolph's Avatar
ran_dizolph ran_dizolph is offline
from the lab...
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2004
Location: the land of wind and ghosts
Posts: 1,530 ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level)ran_dizolph User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 17 h 37 m 57 sec
Reputation Power: 123
Using includes doesn't actually reduce your code when it comes to what a browser sees. Assuming that you are talking about just taking all the code in your first block and placing it in 'leftNav.inc', for it to read your pages, it still has to read the include sections. They just make it tidier when you're coding, plus updates are easier.

And actually, placing your menu on the right hand side is always an option...that way, the spider'll read yr content first.

Hope that helps!
__________________
if i've been helpful, please add to my reputation.
http://www.gpwebsolutions.com
my band's myspace site

Reply With Quote
  #4  
Old August 17th, 2005, 12:32 PM
freejazz freejazz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 214 freejazz User rank is Private First Class (20 - 50 Reputation Level)freejazz User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 11 h 36 m 23 sec
Reputation Power: 4
includes do make loading faster if more than one page reads the same include

also ALT TAGS!!!

yes, they are worth it.

(also a lot of people do google image searches and find pages that way)

Reply With Quote
  #5  
Old September 10th, 2005, 08:24 AM
fireartist fireartist is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 131 fireartist User rank is Corporal (100 - 500 Reputation Level)fireartist User rank is Corporal (100 - 500 Reputation Level)fireartist User rank is Corporal (100 - 500 Reputation Level)fireartist User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 27 m 27 sec
Reputation Power: 4
btw, freejazz is wrong.
EAD specified a SSI 'include' tag.
SSI stands for Server Side Include - which means the 'include' is done by the webserver.
Making the files SSI instead of plain HTML means the server has more processing to do, and the response may be slower (usually not noticably). However, the exact same HTML is output to the user, and it takes the same time to download it.

Reply With Quote
  #6  
Old September 15th, 2005, 04:32 AM
Grafmix's Avatar
Grafmix Grafmix is offline
Anal Purist
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2005
Location: Bob's Auto Parts...
Posts: 830 Grafmix User rank is Second Lieutenant (5000 - 10000 Reputation Level)Grafmix User rank is Second Lieutenant (5000 - 10000 Reputation Level)Grafmix User rank is Second Lieutenant (5000 - 10000 Reputation Level)Grafmix User rank is Second Lieutenant (5000 - 10000 Reputation Level)Grafmix User rank is Second Lieutenant (5000 - 10000 Reputation Level)Grafmix User rank is Second Lieutenant (5000 - 10000 Reputation Level)Grafmix User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 15 h 3 sec
Reputation Power: 75
Just stumbled upon this thread... I have a great idea; use CSS and XHTML to cut all your code down, and use alt attributes for descriptive explanations of the images, because that's what they're for

Alt attributes really shouldn't be pumped with keywords. Try and be clever with them by making sure you're describing what the picture actually is for someone who is visually impared. If the picture relates to the subject matter of your site then that's good because you will probably be able to slip a couple of keywords in.

Search engines read the alt attribute, but the alt attribute isn't for search engines, it's for people who can't see your images.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > are alt tags or less code more important?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway