netbeans插入了jquery包,功能没有生效

问题遇到的现象和发生背景

使用netbeans插入了jquery包版本是3.6.0,但是相关功能无法实现,ide中html()字体也没有变色不知道问题在哪里

问题相关代码,请勿粘贴截图
<%@page contentType="text/html" pageEncoding="UTF-8"%>
html>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>BUPT_JavaEEtitle>
        
    head>
    <body>
    <div>
        <form action="/rank" method="post" id="rankForm">form>
        留下你的名字:<input type="text" name="uname" id="uname"><br>
        分数:<input type="password" name="upwd" id="upwd"><br>
        <span id="msg" style="color:red">123span>
        <button type='button' id="loginbtn">提交button>
    div>
    body>
    <script type="text/javascitpt" src="js/jquery.js">script>
    <script type="text/javascript">
        $(function(){
            $("msg").html("44444");
        });
        
    script>
html>



$('#msg')