Why are HTML character entities necessary?

后端 未结 6 1192
挽巷
挽巷 2021-01-04 18:30

Why are HTML character entities necessary? What good are they? I don\'t see the point.

6条回答
  •  暖寄归人
    2021-01-04 19:02

    Character entities are used to represent character which are reserved to write HTML for.ex. <, >, /, & etc, if you want to represent these characters in your content you should use character entities, this will help the parser to distinguish between the content and markup

提交回复
热议问题