ابحث في الدعم

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>

  • 2 (ردّان اثنان)
  • 0 have this problem
  • 2 views
  • آخر ردّ كتبه HeavenlyFox

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

الحل المُختار

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

الحل المُختار

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