This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

<enter> becomes <div>

more options

is there a way to stop Firefox 102 or even earlier versions to stop using div for line break or <enter> key press? Why is this the case ? HTML standard?

is there a way to stop Firefox 102 or even earlier versions to stop using div for line break or <enter> key press? Why is this the case ? HTML standard?

Modified by HeavenlyFox

Chosen solution

That is an old change that I suspect was made for some web compatibility reason. I don't know whether this reply is still applicable:

https://support.mozilla.org/questions/1268823

Read this answer in context 👍 1

All Replies (2)

more options

Seçilmiş Həll

That is an old change that I suspect was made for some web compatibility reason. I don't know whether this reply is still applicable:

https://support.mozilla.org/questions/1268823

more options

Hi jscher2000

I recently migrated from 52 to 102 , so I wouldn't know all the changes in between . br tag makes it more readable for me dealing with the codes. I do not understand the logic behind this standard change.

Anyway, thank you very much for your solution , it solved my problem.

Modified by HeavenlyFox