28, May 2012

HTML/XHTML Indentions? - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Design and Layout  >  General webmaster discussions (Moderator: Meth0d)
Topic: HTML/XHTML Indentions?
« previous next »
Poll
Question: How crazy do you get with indentions in html/xhtml?
I indent everything even alt and attributes
I indent major tags
I never indent

Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: HTML/XHTML Indentions?  (Read 1087 times)
Der Führer
I feel pretty...
***
Gender: Male
Posts: 184
481 credits
Members referred : 0



« on: Dec 12, 2006, 05:33:36 am »

This question was brought up today in an argument with a friend. Is there such a thing at too much indenting? From indenting every attribute on a tag and then indenting every attribute on a style (in included) to no indenting any tags. Where do you stand on this, is it even important?  Wink
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #1 on: Dec 12, 2006, 07:31:03 am »

Well INHO it is important to have a valid site for many reasons.

One of the main reasons is that valid sites load faster. When the site load faster the user experience is better, so the earnings are more Smiley

Regarding the alt attribute, it is more important as it helps with SEO. In fact many people claim that some search engines give some weight to XHTML valid sites (eg. MSN) but this is not so sure.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Dec 12, 2006, 08:49:02 am »

This poll is not clear, I need to read the thread twice to understand what you're trying to say.

to get clear what to use and what are attributes and Elements (not tags) you should read this:
elements
http://www.w3.org/TR/html401/index/elements.html

and the attributes
http://www.w3.org/TR/html401/index/attributes.html

not that some attributes are required and don't forget if you use optional attributes than use them for purpose for what they are made for. example a "title" or "alt" with a 20 (or longer) text is not the meaning how to use them

Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=5170
Tags : HTML/XHTML Indentions? Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Design and Layout  >  General webmaster discussions (Moderator: Meth0d)
Topic: HTML/XHTML Indentions?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 06:38:50 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.