Following is the HTML code for the web page: 2
<HTML>
<BODY>
<H4>Select a location from the list</H4>
<FORM>
<SELECT NAME="list" SIZE=3 onchange="open1()">
<OPTION>Go to Rajasthan !!
<OPTION>Go to Kerela !!
<OPTION>Go to Shimla !!
</SELECT>
</FORM>
</BODY>
</HTML>
Write the JavaScript code to be embedded in the above HTML code to open the
corresponding website in a new window on the selection of any list item.