coding a valid xhtml website |
coding a valid xhtml website |
![]()
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 |
|
|
![]() |
![]()
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. |
|
|
![]()
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. |
|
|
![]()
Post
#4
|
|
![]() talent on another level ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 746 Joined: Oct 2006 Member No: 475,735 ![]() |
thanks will do
|
|
|
![]()
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 |
|
|
![]()
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. |
|
|
![]()
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. |
|
|
![]() ![]() |