<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>富豪排行榜</title> <link type="text/css" href="testcss.css"/></head><body> <font class="style1">富豪排行榜</font><br/> <span class="style2">王健林</span><br/> <span class="style3">马云</span><br/> <span class="style4">马化腾</span><br/> <span class="style3">潘石屹</span><br/> <span class="style3">丁磊</span><br/></body></html>下边是引入的css文件:.style1{ font-size: 50px; color: red;}.style2{ color: red; font-weight: bold;}.style3{ background-color: gray; font-weight: bold;}.style4{ font-weight: bold; text-decoration-style: underline;}
- 2 回答
- 0 关注
- 1379 浏览
相关问题推荐
添加回答
举报
0/150
提交
取消