HTML and CSS Reference
In-Depth Information
tabbing order. When tabbing is not explicitly set, the browser might tab through items in
the order they are encountered. Form controls that are disabled due to the presence of the
disabled attribute will not be part of the tabbing index.
<form action="#" method="get">
<p><label> Choose your favorite colors: </label>
<select name="colors" multiple="multiple" size="2">
<option> Red </option>
<option> Blue </option>
<option> Green </option>
<option> Yellow </option>
<label> Taco Choices: </label>
<select name="tacomenu" id="tacomenu">
<option value="SuperChicken"> Chicken </option>
<option value="Baja"> Fish </option>
<option value="TastyPig"> Carnitas </option>
HTML 2, 3.2, 4, 4.01, 5
XHTML 1.0, 1.1, Basic
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 4+, Safari 1+
• The HTML 4.01 specification reserves the attributes datafld and datasrc for
future use, but these are removed under XHTML.
• Internet Explorer's variant of the disabled attribute allows values of true and
false , as well as the standard disabled value.
• Under traditional HTML, the end tag </option> is often omitted.
• Be careful of the name and id attribute problem that may occur, particularly when
setting the multiple attribute. It may be better to have separate values.
• The HTML 2.0 and 3.2 specifications define only multiple , name , and size
<small> (Small Text)
This inline element renders the enclosed text one font size smaller than a document's base
font size, unless it is already set to the smallest size.
Standard Syntax
class="class name(s)"
dir="ltr | rtl"
Search WWH ::

Custom Search