看一下这个有什么问题吗?html引入不进去

<!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;

}


qq_做人如水_0
浏览 1353回答 2
2回答

西兰花伟大炮

link里面少了rel="stylesheet"
打开App,查看更多内容
随时随地看视频慕课网APP