Guest Posted February 3, 2009 Share Posted February 3, 2009 Hi, I am trying to validate my code. I am having trouble finding one error. Here is my code on my sts_template: $myaccountlogoff | $cartcontents | $checkout real simple everyone should have this. This is what the validator sees: <a href=http://www.mysite.com/account.php?osCsid=ee640f4611ac8d932513af62c24f1ee9 class="infoBoxHeading">My Account</a> | <a href=http://www.mysite.com/shopping_cart.php?osCsid=ee640f4611ac8d932513af62c24f1ee9 class="infoBoxHeading">Cart Contents</a> | <a href=http://www.mysite.com/checkout_shipping.php?osCsid=ee640f4611ac8d932513af62c24f1ee9 class="infoBoxHeading">Checkout</a> Please notice that <a href= has no "" around it. The validator is giving me: The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML. I know if I could find the code and replace the "" marks I could solve this problem. Could anyone tell me where I can find this. Thank you. Link to comment Share on other sites More sharing options...
omega5design Posted February 3, 2009 Share Posted February 3, 2009 You'll need " " around your deep url in the anchor tags. The W3C Validation page will help you tease out the errors so you may correct the displayed html in your template code. This is what the validator sees:<a href=http://www.mysite.com/account.php?osCsid=ee640f4611ac8d932513af62c24f1ee9 class="infoBoxHeading">My Account</a> | <a href=http://www.mysite.com/shopping_cart.php?osCsid=ee640f4611ac8d932513af62c24f1ee9 class="infoBoxHeading">Cart Contents</a> | <a href=http://www.mysite.com/checkout_shipping.php?osCsid=ee640f4611ac8d932513af62c24f1ee9 class="infoBoxHeading">Checkout</a> Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2009 Share Posted February 8, 2009 You'll need " " around your deep url in the anchor tags. The W3C Validation page will help you tease out the errors so you may correct the displayed html in your template code. Could someone please tell me where to find this code so I can add the " " marks. I have looked everywhere. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.