0
這裏是我的HTML:爲什麼我的字體不會變色?
h1 {
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 2em;
font-style: italic;
}
h2 {
font-family: Geneva, Arial, serif;
font-size: 1.5em;
}
p {
font-family: Georgia, 「Times New Roman」, Times, serif;
font-size: 1.5em;
}
p.important {
font-size: 2.5em;
font-weight: 900;
}
.typewriter {
font-family: "Courier New", Courier, monospace;
}
.emphasized {
font-style: italic;
}
.standout {
color: #cc0000;
}
<h1>Jen</h1>
<h2>That’s my name</h2>
<p class=「important」>This is a bunch of text</p>
<h2 class="typewriter">This heading is in a typewriter text.</h2>
<p class="typewriter">This paragraph is also in typewriter text.</p>
<p>This is <span class="emphasized">italicized text</span> for learning purposes.</p>
<p>This is going to be <span class=「standout」> red colored text</span> for learning purposes.</p>
我似乎無法找出是什麼問題,我已經試過所有我能想到的...
任何並非常感謝所有幫助。我是網絡設計新手,我正在盡我所能去學習,但我需要一些幫助。
由於您使用的是'類=「鶴立雞羣」' – Turnip