There is a label containing a <p> tag in my html code. but firefox 3.6 is rendering the <p> tag outside the label which is breaking the html. all other browsers including different FF versions are rendering it just fine. please help?


Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The HTML specification does not allow
<p>elements inside<label>elements. When you write invalid HTML, expect browsers to error recover in different and unwanted ways.“A label element can contain any number of things that are ‘inline’ except other labels”
“Inline consists of text, things that are considered ‘fontstyle’, ‘phrase’, etc”
If you follow the links through, you won’t find
pin any of those groups.