Uppercase letters in XHTML tags
In XHTML, unlike HTML, element and attribute names must be all lowercase. For example, onMouseOver is an invalid attribute in XHTML, which requires use of onmouseover instead. Either is fine in HTML.
Moment,Stress,Strain,Spring,CSS,HTML,Draft ,Tube,Entropy,calorific value of fuel,Boiler/Steam Generator,Superheater,Air Preheater,Boiler raught,Nozzle,Scavenging,Governor,Flywheel,Rating of fuel-,S.Iengine,C.I engine,Stoichiometric Mixture/ Stoichiometric Ratio,Heat Transfer,Heart touching stories,love stories,love,stories
<!-- This is invalid! --> <a href="foo.cgi?chapter=1§ion=2©=3&lang=en">...</a>
<a href="foo.cgi?chapter=1&section=2&copy=3&lang=en">...</a>
<script type="text/javascript">
<!-- // This is an error! document.write("</P>"); // -->
</script>
As mentioned in the HTML 4 Recommendation's note about specifying non-HTML data in element content, end tags are recognized within SCRIPT elements, but other kinds of markup--such as start tags and comments--are not. This is an unintuitive quirk of SGMLfor elements defined to have CDATA content.
<script type="text/javascript">
<!-- document.write("<\/P>"); // -->
</script>
label
tag sorts this out, with a for
attribute that associates it to a form element:
<form>
<label for="yourName">Your Name</label> <input type="text" name="yourName" id="yourName" />
...
name
and id
are both required - the name
for the form to handle that field and the id
for the label to associate it to.fieldset
tag.legend
tag.
<form action="somescript.php" >
<fieldset>
<legend>Name</legend>
<p>First name <input type="text" name="firstName" /></p>
<p>Last name <input type="text" name="lastName" /></p>
</fieldset>
<fieldset>
<legend>Address</legend>
<p>Address <textarea name="address" ></textarea></p>
<p>Postal code <input type="text" name="postcode" /></p>
</fieldset>
...
optgroup
tag groups options in a select box. It requires a label
attribute, the value of which is displayed as a non-selectable pseudo-heading preceding that group in the drop-down list of visual browsers.
<select name="country">
<optgroup label="Africa">
<option value="gam">Gambia</option>
<option value="mad">Madagascar</option>
<option value="nam">Namibia</option>
</optgroup>
<optgroup label="Europe">
<option value="fra">France</option>
<option value="rus">Russia</option>
<option value="uk">UK</option>
</optgroup>
<optgroup label="North America">
<option value="can">Canada</option>
<option value="mex">Mexico</option>
<option value="usa">USA</option>
</optgroup>
</select>
accesskey
and tabindex
attribute can be added to the individual form tags such as input
and also to legend
tags.
input type="text" name="firstName" accesskey="f" tabindex="1" />
<
1.Which instrument is used to measure altitudes in aircraft's ? Audiometer Ammeter Altimeter Anemometer Explanation : ...