For example the following code in Listing 6 selects the span designated as bestinshow by preceding the name with a pound sign (#) and colors it red, as shown in Figure 5.
例如,清单6中的代码在 ID 属性值前面加上一个磅符(#),从而选择 ID为 bestinshow 的span并把它的颜色设置为红色,见图5。
For example the following code in Listing 6 selects the span designated as bestinshow by preceding the name with a pound sign (#) and colors it red, as shown in Figure 5.
例如,清单6中的代码在 ID 属性值前面加上一个磅符(#),从而选择 ID为 bestinshow 的span并把它的颜色设置为红色,见图5。
应用推荐