單項選擇題

若有如下類的樣式定義:.style1{color:red;},則以下使用該樣式正確的是:()

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

微信掃碼免費搜題