HTML CSS Reference/HTML Tag Reference/head

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

"head" 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 layout-grid | | and |layout-grid-mode pixelBottom(*) | | JavaScript |pixelHeight(*) pixelLeft(*) | | Style |pixelRight(*) pixelTop(*) | | Properties |pixelWidth(*) posBottom(*) | | |posHeight(*) posLeft(*) | | |posRight(*) posTop(*) | | |posWidth(*) text-autospace | | |text-underline-position zoom | +----------------+--------------------------------------------------------------+

     </source>
   
  


"head" Event Handlers

   <source lang="html4strict">

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

     </source>
   
  


"head" Example

   <source lang="html4strict">
   

<html> <head>

   <title>head element example</title>
    <link rel="stylesheet" type="text/css" href="http://www.wbex.ru/style/jss.css">
    <script language="javascript">
        
    </script>
   <meta name="description" CONTENT=" Java examples (example source code) Organized by topic " />
   <meta name="keywords" CONTENT=" Java examples (example source code) Organized by topic "/>
   <meta http-equiv="content-style-type" content="text/css"/>     

</head> <body>This is the content of the page</body> </html>


     </source>
   
  


"head" HTML Attributes

   <source lang="html4strict">

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

     </source>
   
  


"head" JavaScript Collections

   <source lang="html4strict">

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

     </source>
   
  


"head" 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 | | |removeNode replaceAdjacentText | | |replaceChild replaceNode | | |setAttribute setAttributeNode | | |swapNode | +----------------+--------------------------------------------------------------+

     </source>
   
  


"head" JavaScript Properties

   <source lang="html4strict">

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

     </source>
   
  


"head" Microsoft Behaviors

   <source lang="html4strict">

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

     </source>
   
  


"head" Syntax and Note

   <source lang="html4strict">

Note: This element creates the header section of an HTML document. In header, you can 1)define the title of the document,

                  2)establish links to CSS style sheets, 
                  3)reference JavaScript code, and so on.
   

Syntax:

<head attributes events> . . . </head>


     </source>