W3School TIY
编辑您的代码:
<html> <head> <style type="text/css"> #typing { behavior:url("../example/csse/behave_typing.htc"/*tpa=http://www.jb51.net/example/csse/behave_typing.htc*/); font-family:'courier new'; } </style> </head> <body> <span id="typing" speed="100">IE5 introduced DHTML behaviors. Behaviors are a way to add DHTML functionality to HTML elements with the ease of CSS.<br /><br /> How does behaviors work?<br />By using XML we can link behaviors to any element in a web page and manipulate that element.</p> </span> </body> </html>
查看结果: