HTML CSS Reference/HTML Tag Reference/title

Материал из Web эксперт
Перейти к: навигация, поиск

"title" CSS Attributes and JavaScript Style Properties

   <source lang="html4strict">

Names noted with an asterisk (*) are JavaScript properties only. +----------------+--------------------------------------------------------------+ | CSS |background-position-x background-position-y | | Attributes |behavior pixelBottom(*) | | and |pixelHeight(*) pixelLeft(*) | | JavaScript |pixelRight(*) pixelTop(*) | | Style |pixelWidth(*) posBottom(*) | | Properties |posHeight(*) posLeft(*) | | |posRight(*) posTop(*) | | |posWidth(*) text-autospace | | |text-underline-position | +----------------+--------------------------------------------------------------+

     </source>
   
  


"title" Event Handlers

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Event |onLayoutComplete onReadyStateChange | +----------------+--------------------------------------------------------------+

     </source>
   
  


"title" Example

   <source lang="html4strict">
   

<html> <head> <title>title element example</title> </head> <body>body content </body> </html>


     </source>
   
  


"title" HTML Attributes

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | HTML |dir id | | Attributes |lang | +----------------+--------------------------------------------------------------+

     </source>
   
  


"title" JavaScript Collections

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |all attributes | | Collections |behaviorUrns childNodes | | |children | +----------------+--------------------------------------------------------------+

     </source>
   
  


"title" JavaScript Methods

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |addBehavior appendChild | | Methods |applyElement attachEvent | | |clearAttributes cloneNode | | |componentFromPoint contains | | |detachEvent dragDrop | | |fireEvent getAdjacentText | | |getAttribute getAttributeNode | | |getElementsByTagName hasChildNodes | | |insertAdjacentElement insertBefore | | |mergeAttributes normalize | | |removeAttribute removeAttributeNode | | |removeBehavior removeChild | | |replaceAdjacentText replaceChild | | |setAttribute setAttributeNode | | |swapNode | +----------------+--------------------------------------------------------------+

     </source>
   
  


"title" JavaScript Properties

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |canHaveHTML className | | Properties |clientHeight clientWidth | | |dir disabled | | |firstChild id | | |innerHTML innerText | | |isContentEditable isDisabled | | |isMultiLine isTextEdit | | |lang lastChild | | |nextSibling nodeName | | |nodeType nodeValue | | |offsetHeight offsetLeft | | |offsetParent offsetTop | | |offsetWidth ownerDocument | | |parentElement parentNode | | |parentTextEdit previousSibling | | |readyState scopeName | | |scrollHeight scrollLeft | | |scrollTop scrollWidth | | |sourceIndex tagName | | |tagUrn text | | |title uniqueID | +----------------+--------------------------------------------------------------+

     </source>
   
  


"title" Microsoft Behaviors

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Microsoft |clientCaps download | | Behaviors |homePage | +----------------+--------------------------------------------------------------+

     </source>
   
  


"title" Syntax and Note

   <source lang="html4strict">

Note: This element defines the title of a document. The <title> element must be located inside the <head> element.

Syntax:

<title attributes events> . . . </title>


     </source>