首页
极刻
圈子
教程
开源
登录 / 注册
返回教程:XML 教程
TRY RUN / 在线示例
XML 教程 尝试一下
XML 教程 尝试一下
源代码
运行
<html> <head> <style type="text/css"> #typing { behavior:url(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>
运行结果