jQuery: Writing HTML depending on browser

Only in IE


The jQuery Code START
    
    <script type="text/javascript" src="./jquery-1.5.1.js"></script>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    
    <script type="text/javascript">
      $(document).ready(function()  {
        if($.browser.msie) {
           $("#target").html("<marquee><h1>" + "A new marquee element!</h1></marquee>");
        }
      });
    </script>
    
    <style type="text/CSS">
        <!--
        .code { color: red; }
        .back { background-color: yellow; }
        -->
   </style>
  </head>

  <body>
    <h1>jQuery: Writing HTML depending on browser</h1>
    <div id="target"></div>