Layout-neutral tag for CSS?

前端 未结 8 1954
执笔经年
执笔经年 2021-01-05 05:14

Is there an \"invisible\" tag in HTML (4) that I can use to make CSS distinctions

tag.myclass tag.mysubclass h1 {  } 

without having

8条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-05 06:11

    I suspect you can use tag without usual attributes for that purpose, but I haven't tested it thoroughly yet. It's even in HTML5 (unlike FONT tag).

    提交回复
    热议问题