(若为英文则作用于第一个字母,若为中文则作用于第一个汉字) 属性选择器(Attribute Selectors ):通过判断元素中是否存在html中某个属性或者符合某个属性值来选择作用该元素。
基于376个网页-相关网页
从 IE7 开始,浏览器开始支持一种超厉害的 CSS 规则,叫做 空格分隔属性选择器(space-separated attribute selector) , 具体描述 在CSS技巧里面。它可以匹配任何属性值,通过空格分隔,就像它们是类一样。
基于12个网页-相关网页
... 后代选择器 (ul li,li a) 属性选择器 (input[type="text"]) 伪类选择器 (a:hover,li:nth-child(n)) ...
基于4个网页-相关网页
随着越来越多的使用属性选择器,最终将与处理节点一样经常地使用值(来自属性)。
As you start to use attribute selectors more and more, you'll end up working with values (from attributes) as much as you work with nodes.
因此对于属性选择器,返回值(虽然不确切但是很有用)是一个值,对于一个元素则是一个节点集(包含一个节点)。
So the return value (sort of a misnomer, but still a useful way to think about things) for an attribute selector is a value; for an element, it's a node set (containing a single node).
随着IE7介绍了其对属性选择器(attribute selector)的支持,市场上大概50%的用户可以使用这一特性了。
With IE7 introducing support for attribute selectors, roughly 50% of the market can use those.
应用推荐