自定義標簽的Behavior 在<html>標簽中,加入"xmlns:前導文字",就可以在html文件中使用自定義的標簽。這種標簽也可以套用Behavior。 <html xmlns:poems>//加入前導文字 <head> <title>xmllover</title> </head>
<body> <poem:作者>xmllover</poem:作者> //自定義的標簽 <br> <poem:標題 style="color:blue;font-size:18"> 我是xmllover我怕誰 <br> <poem:內容 style="Behavior:url(1.htc)"> --萬能五筆就是我-- --萬能五筆就是我-- <br> --萬能五筆就是我-- --萬能五筆就是我-- </poem:內容> </body> </html>
|