有没有像“:”之类的东西我应该在给单词着色时突出显示? (HTML)
Is there something like ":" I am supposed to feature when coloring a word? (HTML)
我正在制作一段关于水果投资的文章。为了让大家体验一下,我根据颜色给水果词上色:
<h1> Cantaloupes </h1><br>
<p> Cantaloupes is this type of melon that can be used as a fruit, like for drinking a refresher!
They are used to make juice. It's this avocado looking fruit that has the outside as a different color.
等等。我想制作一个 <script>
属性,其中包含 <style>
,这样我就可以为文章中“哈密瓜”的数量涂上颜色。我如何在其中使用 <style>
,如果我不能,我如何使用 <style>
来绘制“哈密瓜”字样?
<p>
<span style="color: yellow">Cantaloupes</span> is a type of <span style="color: green">melon</span> that can be used...
</p>
我正在制作一段关于水果投资的文章。为了让大家体验一下,我根据颜色给水果词上色:
<h1> Cantaloupes </h1><br>
<p> Cantaloupes is this type of melon that can be used as a fruit, like for drinking a refresher!
They are used to make juice. It's this avocado looking fruit that has the outside as a different color.
等等。我想制作一个 <script>
属性,其中包含 <style>
,这样我就可以为文章中“哈密瓜”的数量涂上颜色。我如何在其中使用 <style>
,如果我不能,我如何使用 <style>
来绘制“哈密瓜”字样?
<p>
<span style="color: yellow">Cantaloupes</span> is a type of <span style="color: green">melon</span> that can be used...
</p>