我正在写一段关于水果投资的文章。为了让它更有体验,我根据水果单词的颜色对其进行着色:
<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.诸若此类。我想创建一个内部带有<style>的<script>属性,这样我就可以在文章中为“哈密瓜”的how so数字上色。如何在其中使用<style>?如果不能,如何使用<style>来绘制“哈密瓜”单词?
发布于 2021-03-09 02:01:50
<p>
<span style="color: yellow">Cantaloupes</span> is a type of <span style="color: green">melon</span> that can be used...
</p>
https://stackoverflow.com/questions/66534847
复制相似问题