Showing posts with label Css. Show all posts
Showing posts with label Css. Show all posts

Thursday 19 December 2013

LABEL


label

Label for a form element (input, textarea or select).

Attributes
  • for can be used to associate the label to a form element when the value of for matches the value of an element's id attribute.
  • accesskey can be used to associate a keyboard shortcut to the element.
Example

<label for="email">e-mail address</label><input type="text" name="email" id="email" />

MAP


map

A client-side image map. Used in conjunction with area to map links to certain regions of an image.

Attributes
  • id is used to uniquely identify the element.
Optional Attributes
  • class can be used to reference the element with CSS.
  • title can be used to specify a title for the element.
Example

<map id ="atlas">
        <area shape ="rect" coords ="0,0,115,90" href ="northamerica.html" alt="North America" />
        <area shape ="poly" coords ="113,39,187,21,180,72,141,77,117,86" href ="europe.html" alt="Europe" />
        <area shape ="poly" coords ="119,80,162,82,175,102,183,102,175,148,122,146" href ="africa.html" alt="Africa" />
</map>

LI


li

List item. Used in conjunction with ul or olto make an unordered list or ordered list respectively.

Example

<ul>
        <li>This</li>
        <li>That</li>
        <li>The other</li>
</ul>

META


meta

Meta information. Used to provide information about the HTML page. It must be placed within the head element.

Attributes
  • content is used to specify the meta information itself.
Optional Attributes
  • name can be used to specify the name given to the meta information. The value can be anything, but common examples are description and author.
  • http-equiv can be used when name is not used to define an 'equivalent' HTTP header for the document. This is commonly used to specify the MIME type and character set when the author has no direct control over the server.
  • scheme can be used when name is used to specify how the value of content should be interpreted.
Example

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content="darwin, evolution, natural selection, species, beagle, 1859" />
<meta scheme="ISBN"  name="identifier" content="0-14-043205-1" />

NOSCRIPT


noscript

Defines content to be used when a script can not be used (either because a browser does not support it or a user has switched off that functionality).

Example

<script type="text/javascript">
        [some JavaScript stuff]
</script>
<noscript>
        <p>What? No JavaScript?</p>
</noscript>

Wednesday 18 December 2013

LEGEND


legend

Defines a caption for a fieldset. The element must appear directly after the opening fieldset tag.

Attributes
  • accesskey can be used to associate a keyboard shortcut to the element.
Example

<fieldset>
        <legend>Name</legend>
        <div>First name: <input name="firstname" /></div>
        <div>last name: <input name="surname" /></div>
</fieldset>





Other Topics

KBD

INPUT


input

A form element that can be represented as a text box, password text box, check box, radio button, submit button, reset button, hidden input field, image (which acts as a submit button), file selection box or general button.

Attributes
  • name can be used so that the value of the element can be processed.
  • type can be used to specify the type of input. Values can be text (default), password, checkbox, radio, submit, reset, hidden, image, file or button.
  • value can be used to specify the initial value. It is required when type is set to checkbox or radio. It should not be used when type is set to file.
  • checked can be used when type is set to checkbox or radio to set the initial state of a check box or radio button to be selected. It must be used in the format checked="checked".
  • maxlength can be used to specify the maximum number of characters allowed in a text box.
  • src can be used when type is set to image to specify the location of an image file.
  • alt can be used when type is set to image to specify the alternative text of the image, which should be a short description.
  • accept can be used when type is set to file to specify which file-types should be accepted. This is a comma-separated list of MIME types.
  • disabled can be used to disable an element. It must be used in the format disabled="disabled".
  • readonly can be used to specify that the value of the element can not be changed. It must be used in the format readonly="readonly".
  • accesskey can be used to associate a keyboard shortcut to the element.
  • tabindex can be used to specify where the element appears in the tab order of the page.
Example

<form action="somescript.php" />
        <p>Do you like pie?</p>
        <div>yes <input type="radio" name="pie" value="yes" checked="checked" /></div>
        <div>no <input type="radio" name="pie" value="no" /></div>
        <div>Your name: <input type="text" name="name" /></div>
        <div><input type="image" name="submitimage" src="someimage.gif" /></div>
</form>

INS


ins

Insertion. Used to define an editorial insertion of content. Often used along with del.

Attributes
  • cite can be used to specify the location (as a URI) of an explanation of why the insertion was made.
  • datetime can be used to specify when the insertion was made.
Example

<p>It really was <ins cite="rarara.html" datetime="20031024">very</ins> good.</p>

Physics basic inventions and inventors

1.Which instrument is used to measure altitudes in aircraft's ? Audiometer Ammeter Altimeter Anemometer Explanation : ...