Is it okay to add id/class to <link> tag?

前端 未结 4 481
孤独总比滥情好
孤独总比滥情好 2020-12-05 06:41

Is it okay to do this?


so I can use JavaScript to d

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-05 07:10

    Yup, it is. It is not recommended though, as this'd mean loading several files (multiple HTTP requests) as opposed to loading one bigger file (but one HTTP request only).

提交回复
热议问题