【单选题】
下列样式定义字体为宋体、字体颜色为红色、斜体、大小20px、粗细800号,正确的定义是:()
①
.p {font-family:宋体;font-size:20px;font-weight:800;color:red; font-style:italic; }
②
.p {font-family:20px; font-size:宋体; font-weight:800; color: red; font-style:italic; }
③
.p {font-family:20px; font-size:800; font-weight:宋体; color:red; font-style:italic; }
④
.p{font-family:800; font-size:20px; font-weight:red; color:italic; font-style:宋体;}
【单选题】
下列样式定义字体为宋体、字体颜色为红色、斜体、大小20px、粗细800号,正确的定义是:( )
①
p{font-family:宋体;font-size:20px;font-weight:800;color:red;font-style:italic;}
②
p{font-family:20px;font-size:宋体;font-weight:800;color:red;font-style:italic;}
③
p{font-family:20px;font-size:800;font-weight:宋体;color:red;font-style:italic;}
④
p{font-family:800;font-size:20px;font-weight:red;color:italic;font-style:宋体;}