我试图在我的 Index.HTML 的一个段落中加粗和着色某些单词(或使它们成为斜体、不同大小等)。
但通常的格式化标签 (HTML) 不起作用。
我有一个 StyleSheet,其中包含我所有的网站样式和属性,但我只想更改段落中的三个单词(例如)。我该怎么做?
索引.html:
<div id="da-slider" class="da-slider">
<div class="da-slide">
<h2>This is the Heading</h2>
<p>And HERE is where I want to make this word BOLD and this WORD in a different color, for example</p>
<a href="#" class="da-link">Read more</a>
<div class="da-img"><img src="img/pp-slider/imac.png" alt="image01" /></div>
</div>