show-notice
hide-notice

Friday 9 August 2013

HTML option Tag


Introduction:

The HTML option tag is used in conjunction with the select tag and is used for defining option items within the select list.

Example:
<html>
<head>
    <title>HTML option Tag</title>
</head>
<body>
<select>
  <option value ="sydney">Sydney</option>
  <option value ="melbourne">Melbourne</option>
  <option value ="cromwell" selected>Cromwell</option>
  <option value ="queenstown">Queenstown</option>
</select>
</body>
</html>

SHARE THIS POST   

0 comments :

Post a Comment

Design by Gohilinfotech | www.gohilinfotech.blogspot.com