首页题库练习题目详情
Web程序设计单选题中等

下列哪个伪类可用于选择一个元素中仅有的一个子元素?

A:first-child
B:only-of-type
C:only-child
D:nth-child(1)