11 posts
  • 5 Years of Membership
  • Exclusive Author
  • United States
Anonmis
says

I was wondering what methods authors used to validate their html.

I downloaded the plug-in HTML Validate for firefox. When I check my page, I get the green check mark on the bottom right corner of my browser. I did notice though there are two types of validation on it. There is Tidy (the one mine shows) and also SGML .

Is this a good way to validate, or what is the proper way so I can submit a wordpress theme?

4483 posts ThemeForest Senior Reviewer
  • Affiliate Level 1
  • Author Level 6
  • Collector Level 3
  • Envato Team
+14 more
Ivor
Envato team
says

This is the best way http://validator.w3.org/

123 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Author Level 3
  • Collector Level 1
+2 more
adam_robinson
says

i too use that tool to validate. its much easier to use that as i go along. Just to make sure i submit it to the W3c validator when i’ve finished just to be 100% sure.

11 posts
  • 5 Years of Membership
  • Exclusive Author
  • United States
Anonmis
says

Thank you guys for the quick response.

This is my current problem. I am using the following on my page.

<!DOCTYPE html PUBLIC ”-//W3C//DTD XHTML 1 .0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

I am also using the cycle plug-in which requires the code to be like the following, if you want navigation buttons for the slider.

$(’.slider’) .after(‘div class=”slider-nav”> /div>‘) <- I do have the div’s closed properly, but the post didn’t display them correctly

.cycle({ fx: ‘scrollLeft’, sync: 0, pause: 1, speed:400, timeout:10000, pager:’.slider-nav’ });

I think my error is coming from the whole .after line. The error I get is, “document type does not allow element “div” here”

Any hint on what I could do to fix this issue?

11 posts
  • 5 Years of Membership
  • Exclusive Author
  • United States
Anonmis
says

Nevermind … problem has been solved. Again, Thank you everyone for your help.

by
by
by
by
by
by