Do <link href=“”> tags only go in the <head> tag?

前端 未结 6 1472
清歌不尽
清歌不尽 2020-12-09 15:34

Is it possible/good practice to use to include stylesheets outside of the tag, or do they only work / should the

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-09 15:50

    The tag defines the relationship between a document and an external resource.

    The tag is most used to link to style sheets.

    Note: The link element must be embedded in the head section, and it can appear any number of times.

    From: http://www.w3schools.com/tags/tag_link.asp

    The LINK element () is used to add external information related to the HTML document in the header of your document in the HEAD element.

    From: http://www.w3.org/QA/Tips/use-links

提交回复
热议问题