![]() |
|||||||||||||||||
| Home --- Topics --- Articles --- Offers --- Register --- Contact us | |||||||||||||||||
|
|
|||||||||||||||||
|
Did you know? if you register at Hamid School you can save up to 45% on hosting packages offered by Surreyhost.com . Don't miss out, every minute counts! Are you Confused? Click here to learn how to use hamid school CSS Don'tHere are some technologies you should try to avoid when using CSS. Internet Explorer BehaviorsWhat is it? Internet Explorer 5 introduced behaviors. Behaviors are a way to add behaviors to HTML elements with the use of CSS styles. Why avoid it? The behavior attribute is only supported by Internet Explorer. What to use instead? Use JavaScript and HTML DOM instead. Example 1 - Mouseover HighlightThe following HTML file has a <style> element that defines a behavior for the <h1> element:
The XML document "behave.htc" is shown below:
The behavior file contains a JavaScript and event handlers for the elements. Example 2 - Typewriter SimulationThe following HTML file has a <style> element that defines a behavior for elements with an id of "typing":
The XML document "typing.htc" is shown below:
Viewed:466 Original Author: W3school however, some changes have been made to the main contents.
Did you know? if you register at Hamid School you can learn web programming and designing for free and also you can save up to 45% on hosting packages offered by Surreyhost.com . Don't miss out, every minute counts!
|
|
||||||||||||||||
|
Sponsored by: Surreyhost.com Coded and designed by: Hamid Moudi HPLA Follow us: ![]() ![]() |
|||||||||||||||||