Why should I use and instead of &?

Why should I use &instead &when writing HTML for my site?

Where can I find a list of other characters that I should encode? (bar / too, right?)

What problems can arise if I insert the character correctly as it is in html?

The fact is, I have several affiliate links, and I'm worried that if I write them in some cases and for some reason because of a specific browser or device ... that the information in the URL will not be transferred correctly.

Hope someone can clear my mind?

Thank!

+4
source share
2

https://developer.mozilla.org/en-US/docs/Glossary/Entity

HTML , . , . , :

  • & (&) - , .
  • &lt; (<) - ,
  • &gt; ( > ) - ,
  • &quote; (") -

. HTML - https://dev.w3.org/html5/html-author/charref

+8

Source: https://habr.com/ru/post/1628543/


All Articles