摘要: 1.restrict的取值有四种 A 用于元素的 Attribute,这是默认值 <div hello></div> E 用于元素的名称 <hello></hello> C 用于 CSS 中的 class <div class="hello"></div> M 作为注释来使用 <!--directi 阅读全文