Log In · Register

 
coding a valid xhtml website
bigtrey90
post Mar 26 2009, 08:15 PM
Post #1


talent on another level
*****

Group: Member
Posts: 746
Joined: Oct 2006
Member No: 475,735



I am trying to put a RSS feed on my website, and I can't because my site isn't a valid xhtml site. Any tips on how to code one correctly?

http://www.j3mag.uniqsole.com
 
 
Start new topic
Replies (1 - 6)
fixtatik
post Mar 26 2009, 08:31 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



keep an eye on validator.w3.org to show your errors. the biggest problem you're having is closing tags. with XHTML, some tags need to be closed within themselves, like <link>, <br> and <input>

they should look like this:
CODE
<link href="URL" rel="" />
<br />
<input type="text" />

fixes those will clear up many errors.
 
newkidontheblock
post Mar 26 2009, 08:32 PM
Post #3


Offline.
*****

Group: Official Designer
Posts: 609
Joined: Mar 2007
Member No: 507,591



I recommend you using the W3C Validator to check the error. If you are using Firefox the you can download the HTML Validator Plugin, when you view source you'll see all your errors.

^ fixtatik beat me too it.
 
bigtrey90
post Mar 26 2009, 09:12 PM
Post #4


talent on another level
*****

Group: Member
Posts: 746
Joined: Oct 2006
Member No: 475,735



thanks will do
 
bigtrey90
post Mar 28 2009, 03:27 PM
Post #5


talent on another level
*****

Group: Member
Posts: 746
Joined: Oct 2006
Member No: 475,735



Okay I am having a hard time fixing the errors. Here are what they are:

http://validator.w3.org/check?uri=http%3A%...ine&group=0
 
Mickey
post Mar 28 2009, 03:40 PM
Post #6


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



When you use <img> tags, make sure you add this before the >:

CODE
alt=""

When you use <br> tags, make sure you add a slash (/) before the >. When you put up lists (using <li> tags), make sure you start and end with unordered list tags (<ul>). Start out with those suggestions.
 
mipadi
post Mar 28 2009, 04:14 PM
Post #7


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



Sounds like you really just want to mark it up as HTML.

XHTML is only really necessary under strict circumstances, and 99.9% of the time, you're better off using HTML.
 

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: