Showing posts with label Links. Show all posts
Showing posts with label Links. Show all posts

Wednesday 18 December 2013

HTML


html

The root element that specifies that the content of the document is HTML. The opening tag immediately follows the DOCTYPE declaration and the closing tag is the last thing in the document. The html element must contain the headand the body elements.

Attributes
  • xmlns is used to define the XML namespace. The value must be http://www.w3.org/1999/xhtml.
Example

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <head>
               [stuff]
        </head>
        <body>
               [stuff]
        </body>
</html>

FIELDSET


fieldset

Defines a group of related form items.

Example

<fieldset>
        <div>First name: <input /></div>
        <div>Surname: <input /></div>
</fieldset>

DT


dt

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

Example

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

EM

DOCTYPE


DOCTYPE

Document type declaration. This is used to let the browser know what version of HTML you are using. If you don't use it, or if you get it wrong, the browser will assume you don't know what you're doing and switch to 'quirks mode', which will not render things as they should be. Apparently it's more 'forgiving' but it actually seems to be quite random and confusing.
The case must be like that in the example below (with upper case 'DOCTYPE'). It does not close like other tags.

Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

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>
        ...

HTML : COL


col

Column. Specifies attributes to be applied to a table column. Commonly used to apply CSS to a column. Must be used within a colgroup element.

Attributes
  • span can be used to specify a number of columns.
  • align can be used to horizontally align the cells within the column. The value can be left, center, right, justify or char.
  • valign can be used to vertically align the cells within the column. 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>
               <col class="column1" />
               <col class="column2" />
               <col class="columns3and4" span="2" />
        </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>
        ...
</table>

Physics basic inventions and inventors

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