由于
某种原因,我的无序列表下面的段落中的文本继承了其上方列表中最后一项的属性。包括它是一个链接和文本本身的颜色。它最初在列表的最后一项上是白色的,但为了能见度,我将其更改为粉红色。任何帮助将不胜感激。
我试图使段落中的文本具有不同的颜色,但这没有任何作用。
<ul style="list-style-type: none;margin: 0;padding: 0; color:color:#ff00ff; background-color:darkblue">
<li style=display:inline;> <a href="" style="color:white"> Home </li>
<li style=display:inline;> <a href="" style="color:white"> Education </li>
<li style=display:inline;> <a href="" style="color:white"> Work Experience </li>
<li style=display:inline;> <a href="" style="color:pink"> Hobbies </li>
</ul>
<article>
<p> BLANK is a student at BLANK <br> He is currently enrolled in the Computer Information Systems <br> program at the school. He is expected to graduate in 2019. </p>
</article>
关闭你的<a>
标签
<ul style="list-style-type: none;margin: 0;padding: 0; color:color:#ff00ff; background-color:darkblue;">
<li style=display:inline;> <a href="" style="color:white;"> Home</a> </li>
<li style=display:inline;> <a href="" style="color:white;"> Education</a> </li>
<li style=display:inline;> <a href="" style="color:white;"> Work Experience</a> </li>
<li style=display:inline;> <a href="" style="color:pink;"> Hobbies</a> </li>
</ul>
<article>
<p> BLANK is a student at BLANK <br> He is currently enrolled in the Computer Information Systems <br> program at the school. He is expected to graduate in 2019. </p>
</article>
<body>
<ul style="list-style-type: none;margin: 0;padding: 0; color:color:#ff00ff; background-color:darkblue">
<li style="display:inline"> <a href="" style="color:white"> Home</a> </li>
<li style="display:inline"> <a href="" style="color:white"> Education</a> </li>
<li style="display:inline"> <a href="" style="color:white"> Work Experience</a> </li>
<li style="display:inline"> <a href="" style="color:pink"> Hobbies</a> </li>
</ul>
<article>
<p> BLANK is a student at BLANK <br> He is currently enrolled in the Computer Information Systems <br> program at the school. He is expected to graduate in 2019. </p>
</article>
</body>
您的样式属性缺少一些引号,罪魁祸首是<a>
标签没有结束标签