<option>

Sunday, 11.12.2016, 05:11
Welcome Guest
 
All Html Tags
<html>
<head>
<body>
<div>
<span>
<DOCTYPE>
<title>
<link>
<meta>
<style>
<p>
<h1-h6>
<strong>
<em>
<abbr>
<acronym>
<address>
<bdo>
<blockquote>
<cite>
<q>
<code>
<ins>
<del>
<dfn>
<kbd>
<pre>
<samp>
<var>
<br>
<img>
<area>
<map>
<object>
<param>
<form>
<input>
<textarea>
<select>
<option>
<optgroup>
<button>
<label>
<fieldset>
<legend>
<table>
<tr>
<td>
<th>
<tbody>
<thead>
<tfoot>
<col>
<colgroup>
<caption>
<ul>
<ol>
<li>
<dl>
<dt>
<dd>
<script>
<noscript>

Articles for Webmaster
:: Proffesional Website Builders
:: Div Tag in Html Examples
:: Notepad As a Free Html Editor
Authorization

option Tag in Html

Defines an option of a select form field. The option element goes inside the select element.

option Tag Attributes

selected - can be used to specify that the option is initially selected. It must be used in the format selected="selected".
value - can be used to specify a value for the option. If value is not used, the value of the option element is set to its contents by default.

Browser Support

    

Code Example

<select name="dogs">
<option>Domestic Dog</option>
<option>Arctic Fox</option>
<option>Maned Wolf</option>
<option>Grey Wolf</option>
<option>Red Fox</option>
<option>Fennec</option>
</select>
Search

Advertisement
Friends
superbwebsitebuilders.com
HtmlCodeExamples.Com © 2016