HTML CSS Reference/HTML Tag Reference/style
Содержание
"style" Event Handlers
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Event |onError onReadyStateChange | +----------------+--------------------------------------------------------------+
</source>
"style" Example
<source lang="html4strict">
<html> <title>style element example</title> <head> <style>body { background-color: black; color: white; }</style> </head> <body>The body cotains a black background and white letters.</body> </html>
</source>
"style" HTML Attributes
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | HTML |dir id | | Attributes |lang media | | |title type | +----------------+--------------------------------------------------------------+
</source>
"style" JavaScript Collections
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | JavaScript |attributes behaviorUrns | | Collections |childNodes | +----------------+--------------------------------------------------------------+
</source>
"style" JavaScript Methods
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | JavaScript |addBehavior appendChild | | Methods |cloneNode dragDrop | | |getAttribute getAttributeNode | | |getElementsByTagName hasChildNodes | | |insertBefore removeBehavior | | |removeChild removeNode | | |replaceChild setAttribute | | |setAttributeNode | +----------------+--------------------------------------------------------------+
</source>
"style" JavaScript Properties
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | JavaScript |className clientHeight | | Properties |clientWidth cursor | | |dir disabled | | |firstChild id | | |innerHTML lang | | |lastChild media | | |nextSibling nodeName | | |nodeType nodeValue | | |offsetHeight offsetLeft | | |offsetParent offsetTop | | |offsetWidth ownerDocument | | |parentNode previousSibling | | |scrollHeight scrollLeft | | |scrollTop scrollWidth | | |tagName type | +----------------+--------------------------------------------------------------+
</source>
"style" Syntax and Note
<source lang="html4strict">
Note: This element specifies a style sheet for a page. It appears within the <head> section. Internet Explorer 4.0 and later allow multiple style blocks.
Syntax:
<style attributes events> . . . </style>
</source>