I have been updating some of my web sites, trying to make them validate as XHTML Strict. What I’ve learned from this routine work?
1. Do not insert a <div> tag into a <p> tag. It won’t validate. Try a <span>.
2. Use <p> or <div> to surround <input>, <select> and <textarea> tags.
3. Use <label>, more for accessibility than validation.
I am a beginner in HTML so these would b nice tips for me, Thank you