Showing posts with label HTML. Show all posts
Showing posts with label HTML. 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 11 December 2013

HTML : DFN


dfn

Definition term. The title attribute is often used to describe the definition.

Example

<p><dfn title="Microsoft web browser">Internet Explorer</dfn> is the most popular browser used underwater.</p>

HTML : DL


dl

Definition list. Used in conjunction with dt to define definition terms and dd, to definition descriptions.

Example

<dl>
        <dt>Dog</dt>
        <dd>A carnivorous mammal of the family Canidae.</dd>
</dl>

HTML : DD


dd

Definition description. Used in conjunction with dl to define a definition list and dt, to define the term linked with the description.

Example

<dl>
        <dt>Dog</dt>
        <dd>A carnivorous mammal of the family Canidae.</dd>
</dl>

HTML : DEL


del

Deletion. Used to define an editorial deletion of content. Often used along with ins.

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

<p>It really was<del cite="rarara.html" datetime="20031023">n't</del> very good.</p>

HTML : COLGROUP


colgroup

Column group. Specifies attributes to be applied to a set of table columns. Often used with col elements.

Attributes
  • span can be used to specify the number of columns the colgroup element applies to.
  • align can be used to horizontally align the cells within the column group. The value can be left, center, right, justify or char.
  • valign can be used to vertically align the cells within the column group. The value can be top, middle, bottom or baseline.
  • char can be used to specify a character with which cells will align, such as a decimal point. It is not supported by any major browser.
  • charoff can be used to specify the number of pixels the alignment should be offset from the char character. It is not supported by any major browser.
Example

<table>
        <colgroup span="2" class="columns1and2"></colgroup>
        <tr>
               <th>lime</th>
               <th>lemon</th>
               <th>orange</th>
               <th>blood orange</th>
        </tr>
        <tr>
               <td>8</td>
               <td>7</td>
               <td>12</td>
               <td>5</td>
        </tr>
        ...

Physics basic inventions and inventors

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