Is it OK to use unknown HTML tags?

前端 未结 12 1238
梦如初夏
梦如初夏 2020-11-30 04:54

Correct me if I\'m mistaken, but AFAIK, unknown HTML tags in markup (i.e. tags not defined in the HTML spec, like say, ) will eventually be treate

12条回答
  •  猫巷女王i
    2020-11-30 05:24

    W3C says:

    HTML5 supports unknown tags as inline elements, but it recommends CSS styling for it.

    Here is the source: https://www.w3schools.com/html/html5_browsers.asp

提交回复
热议问题