11 posts
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
  • Located in 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?

4340 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says

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

123 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+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
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
  • Located in 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
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
  • Located in United States
Anonmis says

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

by
by
by
by
by
by