单项选择题

若有如下类的样式定义:.style1{color:red;},则以下使用该样式正确的是:()

A.〈pstyle="style1"〉
B.〈aclass="style1"〉
C.〈pid="style1"〉
D.〈style1〉…〈/style1〉