Is it OK to use unknown HTML tags?

前端 未结 12 1221
梦如初夏
梦如初夏 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条回答
  •  迷失自我
    2020-11-30 04:59

    No. You will fail validation, you will get random issues cross browser and you WILL be eaten by said dinosaurs. CSS is the answer if you want your page to behave predictably.

提交回复
热议问题