• For example, the following attribute selector matches all H1 elements that specify the "title" attribute, whatever its value.

    例如,如下的属性选择符匹配那些指定了“title ”属性的H1元素,而不论其值为什么?

    youdao

  • A simple selector is either a type selector or universal selector followed immediately by zero or more attribute selectors, ID selectors, or pseudo-classes, in any order.

    一个简单选择符或者是一个类型选择符,或者是一个全局选择符,紧跟在后的是零个或多个属性选择符,ID选择符或伪类,次序任意。

    youdao

  • 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).

    因此对于属性选择器,返回值(虽然不确切但是很有用)是一个值,对于一个元素则是一个节点集(包含一个节点)。

    youdao

  • The selector in the following rule, which combines descendant and attribute selectors, matches any element that (1) has the "href" attribute set and (2) is inside a P that is itself inside a DIV

    下面规则中的选择符结合了派生选择符和属性选择符,它匹配任何元素,如果(1)该元素设置了"href"属性;且(2)包含在一个P元素内,而P元素又包含在一个DIV元素内

    youdao

  • Like the class, an ID selector is based on the value of an attribute, but in this case, it's the ID attribute.

    与类选择符相似,ID选择符也基于一个属性的值,但这个属性是ID属性。

    youdao

  • In the following example, the selector matches all SPAN elements whose "class" attribute has exactly the value "example".

    下面这个例子,选择符匹配所有指定“class ”属性为“example ”的SPAN元素。

    youdao

  • A class selector selects all elements that have a class attribute with a particular value.

    类选择符选择class属性为特定值的所有元素。

    youdao

  • Here, the selector matches all SPAN elements whose "hello" attribute has exactly the value "Cleveland" and whose "goodbye" attribute has exactly the value "Columbus".

    这里,选择符匹配那些SPAN元素,其“hello ”属性设置为“Cleveland ”而“goodbye ”属性设置为“ Columbus ”。

    youdao

  • We recommend picking a selector name with a prefix to ensure that it cannot conflict with any standard HTML attribute, now or in the future.

    我们建议在给选择器起名时加个前缀,以确保它不会和任何标准的HTML属性冲突,无论是现在还是未来。

    youdao

  • Do spell non-element selectors in lower camel case unless the selector is meant to match a native HTML attribute.

    坚持用小驼峰形式拼写非元素选择器,除非该选择器用于匹配原生HTML 属性。

    youdao

  • Is there an existing or upcoming CSS3 selector for matching substrings of attribute names?

    有一个现有的或即将到来的CSS3选择器的属性的名称匹配的子串?

    youdao

  • Is there an existing or upcoming CSS3 selector for matching substrings of attribute names?

    有一个现有的或即将到来的CSS3选择器的属性的名称匹配的子串?

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定