linking jquery in html

前端 未结 5 1924
既然无缘
既然无缘 2020-11-27 17:21

I can\'t manage to successfully link jQuery to my html. I have made the most simple jQuery code possible just so I know it\'s right, and I\'ve tried everything I can think o

5条回答
  •  [愿得一人]
    2020-11-27 18:10

    Seeing the answers I have nothing else to add but one more thing:

    in your test.html file you have written

    link rel="stylesheet" type="css/text" href="test.css"/

    see where you have written

    type="css/text"

    there you need to change into

    type="text/css"

    so it will look like that

    link rel="stylesheet" type="text/css" href="test.css"/

    and in this case the CSS file will be linked to HTML file

提交回复
热议问题