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?
- Envato Staff
- Reviewer
- Community Moderator
- Venezuela
- Has been a member for 4-5 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Microlancer Beta Tester
- Sold between 10 000 and 50 000 dollars
- Exclusive Author
This is the best way http://validator.w3.org/
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.
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?
Nevermind … problem has been solved. Again, Thank you everyone for your help.
