HTML and CSS Reference
In-Depth Information
<li>Item Three</li>
The <optgroup> element is used to mark up a group of <option> elements with a common label.
When the options are displayed in a select menu, they will be grouped under the common label.
<select name=”country” id=”country”>
<optgroup label=”Africa”>
<option>South Africa</option>
<optgroup label=”Europe”>
<option>United Kingdom</option>
The <option> element is used to mark up an option to be displayed in a <select> or <datalist> .
By default, the option value is the text contained between the element tags; however, you can change
this by explicitly specifying a value using the value attribute.
<select name=”color”>
The <output> element is used to display the result of a calculation.
<label for=”speed”>Speed (MPH)</label>
<input type=”range” name=”speed-mph” id=”speed” min=”0” max=”200”>
<output for=”speed” oninput=”value = speed.valueAsNumber”>0</output>
The <p> element is used to mark up a paragraph of text.
Design is the conscious effort to impose a meaningful order.
The <param> element is used to define parameters for plug-ins and should be contained within an
<object> element. This element uses name and value attributes to establish a key-value pair to be
used by the plug-in.
<param name=”allowFullScreen” value=”true”></param>
The <pre> element is used to mark up a block of preformatted text.
This text does not use line breaks.
However, as this is within a pre element, this second line will still be
Search WWH ::

Custom Search