HTML CSS Reference/HTML Tag Reference

Материал из Web эксперт
Версия от 11:20, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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

     </source>
   
  


"basefont" Event Handlers

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Event |onLayoutComplete onMouseEnter | | Handlers |onMouseLeave onReadyStateChange | +----------------+--------------------------------------------------------------+

     </source>
   
  


"basefont" Example

   <source lang="html4strict">
   

<html>

  <head>
     <title>basefont element example</title>
     <basefont face="Times, serif" size=5>
  </head>
  <body>

Set by base font. new Font.

  </body>

</html>


     </source>
   
  


"basefont" HTML Attributes

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | HTML |color face | | Attributes |id size | +----------------+--------------------------------------------------------------+

     </source>
   
  


"basefont" JavaScript Collections

   <source lang="html4strict">

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

     </source>
   
  


"basefont" JavaScript Methods

   <source lang="html4strict">

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

     </source>
   
  


"basefont" JavaScript Properties

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |canHaveHTML className | | Properties |clientHeight clientWidth | | |color dir | | |disabled face | | |firstChild id | | |innerHTML 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 size | | |sourceIndex tagName | | |tagUrn title | | |uniqueID | +----------------+--------------------------------------------------------------+

     </source>
   
  


"basefont" Microsoft Behaviors

   <source lang="html4strict">

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

     </source>
   
  


"basefont" Syntax and Note

   <source lang="html4strict">

Note: Set a default font face, size, and style for an entire web page. Fonts in the page is relative to the font size in <basefont> element.

Syntax:

<basefont attributes events>


     </source>
   
  


"font" CSS Attributes and JavaScript Style Properties

   <source lang="html4strict">

Names noted with an asterisk (*) are JavaScript properties only. +----------------+--------------------------------------------------------------+ | CSS |accelerator background-position-x | | Attributes |background-position-y behavior | | and |border border-bottom | | JavaScript |border-bottom-color border-bottom-style | | Style |border-bottom-width border-color | | Properties |border-left border-left-color | | |border-left-style border-left-width | | |border-right border-right-color | | |border-right-style border-right-width | | |border-style border-top | | |border-top-color border-top-style | | |border-top-width border-width | | |bottom direction | | |display filter | | |hasLayout(*) height | | |layout-flow layout-grid | | |layout-grid-mode left | | |margin margin-bottom | | |margin-left margin-right | | |margin-top overflow | | |overflow-x overflow-y | | |padding padding-bottom | | |padding-left padding-right | | |padding-top pixelBottom(*) | | |pixelHeight(*) pixelLeft(*) | | |pixelRight(*) pixelTop(*) | | |pixelWidth(*) posBottom(*) | | |posHeight(*) position | | |posLeft(*) posRight(*) | | |posTop(*) posWidth(*) | | |right text-autospace | | |text-overflow text-underline-position | | |top unicode-bidi | | |whitespace width | | |word-wrap writing-mode | | |zoom | +----------------+--------------------------------------------------------------+

     </source>
   
  


"font" Event Handlers

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Event |onActivate onBeforeActivate | | Handlers |onBeforeCut onBeforeDeactivate | | |onBeforeEditFocus onBeforePaste | | |onBlur onClick | | |onContextMenu onControlSelect | | |onCut onDblClick | | |onDeactivate onDrag | | |onDragEnd onDragEnter | | |onDragLeave onDragOver | | |onDragStart onDrop | | |onFocus onFocusIn | | |onFocusOut onHelp | | |onKeyDown onKeyPress | | |onKeyUp onLayoutComplete | | |onLoseCapture onMouseDown | | |onMouseEnter onMouseLeave | | |onMouseMove onMouseOut | | |onMouseOver onMouseUp | | |onMouseWheel onMove | | |onMoveEnd onMoveStart | | |onPaste onPropertyChange | | |onReadyStateChange onResizeEnd | | |onResizeStart onSelectStart | | |onTimeError | +----------------+--------------------------------------------------------------+

     </source>
   
  


"font" Example

   <source lang="html4strict">

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

   
   This element is an inline element.
   
   
This fontwill appear in Times.
Courier New. size and color color

</body> </html>


     </source>
   
  


"font" HTML Attributes

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | HTML |accesskey begin | | Attributes |class color | | |contenteditable dir | | |disabled end | | |face hidefocus | | |id lang | | |language point-size | | |size style | | |syncmaster systemBitrate | | |systemCaptions systemLanguage | | |systemOverdubOrSubtitle tabindex | | |timecontainer title | | |unselectable weight | +----------------+--------------------------------------------------------------+

     </source>
   
  


"font" JavaScript Collections

   <source lang="html4strict">

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

     </source>
   
  


"font" JavaScript Methods

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |addBehavior appendChild | | Methods |applyElement attachEvent | | |blur clearAttributes | | |click cloneNode | | |componentFromPoint contains | | |detachEvent dragDrop | | |fireEvent focus | | |getAdjacentText getAttribute | | |getAttributeNode getBoundingClientRect | | |getClientRects getElementsByTagName | | |getExpression hasChildNodes | | |insertAdjacentElement insertAdjacentHTML | | |insertAdjacentText insertBefore | | |mergeAttributes normalize | | |releaseCapture removeAttribute | | |removeAttributeNode removeBehavior | | |removeChild removeExpression | | |removeNode replaceAdjacentText | | |replaceChild replaceNode | | |scrollIntoView setActive | | |setAttribute setAttributeNode | | |setCapture setExpression | | |swapNode | +----------------+--------------------------------------------------------------+

     </source>
   
  


"font" JavaScript Objects

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |currentStyle runtimeStyle | | Objects |style | +----------------+--------------------------------------------------------------+

     </source>
   
  


"font" JavaScript Properties

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | JavaScript |accessKey canHaveChildren | | Properties |canHaveHTML className | | |color contentEditable | | |dir disabled | | |end face | | |firstChild hasLayout | | |hideFocus id | | |innerHTML innerText | | |isContentEditable isDisabled | | |isMultiLine isTextEdit | | |lang language | | |lastChild nextSibling | | |nodeName nodeType | | |nodeValue offsetHeight | | |offsetLeft offsetParent | | |offsetTop offsetWidth | | |outerHTML outerText | | |ownerDocument parentElement | | |parentNode parentTextEdit | | |previousSibling readyState | | |scopeName size | | |sourceIndex tabIndex | | |tagName tagUrn | | |title uniqueID | +----------------+--------------------------------------------------------------+

     </source>
   
  


"font" Microsoft Behaviors

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Microsoft |clientCaps download | | Behaviors |homePage httpFolder | | |saveFavorite saveHistory | | |saveSnapshot time | | |time2 userData | +----------------+--------------------------------------------------------------+

     </source>
   
  


"font" Microsoft Filters

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Microsoft |Alpha Barn | | Filters |BasicImage BlendTrans | | |Blinds Blur | | |CheckerBoard Chroma | | |Compositor DropShadow | | |Emboss Engrave | | |Fade FlipH | | |FlipV Glow | | |GradientWipe Gray | | |ICMFilter Inset | | |Invert Iris | | |Light MaskFilter | | |Matrix MotionBlur | | |Pixelate RadialWipe | | |RandomBars RandomDissolve | | |RevealTrans Shadow | | |Slide Spiral | | |Stretch Strips | | |Wave Wheel | | |Xray Zigzag | +----------------+--------------------------------------------------------------+

     </source>
   
  


"font" Syntax and Note

   <source lang="html4strict">

Note: This element specifies the font and text properties applied to the text. This element is deprecated, and with CSS you can obtain the same or better results.

Syntax:

. . .


     </source>