Do external stylesheets get loaded before the HTML?

后端 未结 4 1122
夕颜
夕颜 2021-01-07 21:30

If I have external stylesheets being included in the section of my HTML page, will they be loaded before the HTML and immediately appl

4条回答
  •  说谎
    说谎 (楼主)
    2021-01-07 22:08

    I believe everything gets loaded in the exact order you place it in the html (or whatever format) document you create.

    So in the case of a stylesheet call, it will be called when it is read directly in relation to where you wrote it (typically in the )

    a good 'proof of concept' of this would be to create a javascript function that would load a style sheet after a certain amount of time has passed. in this function you could have the stylesheet load with ajax.

提交回复
热议问题