能够完成向指定对象后插入超链接内容的是?
A: h1:after { content:"基础"; }
B: h2:before { content: url("./images/book.png"); }
C: a:after {
content: attr(href); }
D: h2:before { content: "./images/book.png"; }
A: h1:after { content:"基础"; }
B: h2:before { content: url("./images/book.png"); }
C: a:after {
content: attr(href); }
D: h2:before { content: "./images/book.png"; }
举一反三
- css的content属性专门应用在 before/after 伪元素上,用来插入生成内容。( )
- 下列表示在被选元素的内容前面插入内容的是( )? A: :before B: :after C: :content D: :head
- 下列表示在被选元素的内容前面插入内容的是( )? A: :before B: :after C: :content D: :head
- 下面表示在被选元素的内容后面插入内容的是( )? A: :before; B: :after; C: :content; D: :body;
- 下面选项中,在指定的元素后添加内容,正确的是() A: append(content) B: appendTo(content) C: insertAfter(content) D: after(content)