Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pomoc přepytać

Hladajće so wobšudstwa pomocy. Njenamołwimy was ženje, telefonowe čisło zawołać, SMS pósłać abo wosobinske informacije přeradźić. Prošu zdźělće podhladnu aktiwitu z pomocu nastajenja „Znjewužiwanje zdźělić“.

Learn More

Firefox is misinterpretting the HTML code

  • 1 wotmołwa
  • 4 maja tutón problem
  • 1 napohlad
  • Poslednja wotmołwa wot cor-el

more options

In an HTML document, there is a p element containing many child elements followed by another p element. The browser does not realize the first ending tag is for the first p element, and so creates a third empty middle paragraph. Why would this happen?
Here is the code:

<!DOCTYPE html>
<html>
<body>
<p><div>A child of the first paragraph.</div></p>
<p>The second paragraph.</p>
</body>
</html>
In an HTML document, there is a p element containing many child elements followed by another p element. The browser does not realize the first ending tag is for the first p element, and so creates a third empty middle paragraph. Why would this happen? <br /> Here is the code: <pre><nowiki><!DOCTYPE html> <html> <body> <p><div>A child of the first paragraph.</div></p> <p>The second paragraph.</p> </body> </html></nowiki></pre>

Wot cor-el změnjeny

Wubrane rozrisanje

I don't think that you can place a DIV element inside a P element in Firefox (you can do the opposite and place a P in a DIV), so Firefox closes the P tag to open the DIV element and reopens the P tag after DIV container.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>
<p></p><div>A child of the first paragraph.</div><p></p>
<p>The second paragraph.</p>
</body></html>
Tutu wotmołwu w konteksće čitać 👍 1

Wšě wotmołwy (1)

more options

Wubrane rozrisanje

I don't think that you can place a DIV element inside a P element in Firefox (you can do the opposite and place a P in a DIV), so Firefox closes the P tag to open the DIV element and reopens the P tag after DIV container.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>
<p></p><div>A child of the first paragraph.</div><p></p>
<p>The second paragraph.</p>
</body></html>