Why is
an HTML element rather than an HTML entity?

前端 未结 8 1633

Why indeed? Wouldn\'t something like &br; be more appropriate?

8条回答
  •  时光说笑
    2020-12-09 07:47

    Entities are content, tags are structure or layout (very roughly speaking). It seems whoever made the
    a tag decided that breaking a line has more to do with structure and layout than with content. Not being able to actually "see" a
    I'd tend to agree. Oh and I'm making this up as I go so feel free to disagree ;)

提交回复
热议问题