We are providing online training of realtime Live project on Asp.Net MVC with Angular and Web API. For more information click here. If you have any query then drop the messase in CONTACT FORM

Sunday, August 9, 2015

        <html >
<head >
    <title></title>
    <script src="Scripts/jquery-2.1.1.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("h1").hover(function(){
                $(this).attr("style","border:5px solid red; color:green; background-color:yellow;width:400px");
            },
            function(){
                $(this).attr("style", "border:2px solid green; color:red;background-color:aqua;width:400px");
            });
            });
    </script>
</head>
<body>
    <form id="form2" runat="server">
    <div align="center">
        <h1 style="width:400px"> Welcome To JQuery</h1>  

    </div>
    </form>
</body>

</html>   

OutPut:
After Run the program:

Welcome To JQuery

After taking the Mouse 


After leaving the Mouse

Welcome To JQuery


No comments: