首页 > 解决方案 > 如何重新着色段落

问题描述

我正在尝试用红色编写该段落,但没有得到预期的结果,有人可以帮助我吗?

<h1> OluwaTomyin Giwa is an awesome guy. </h1>
    <br>
    <p color="red" no shade>  OluwaTomiyin was born in Nigeria in the year 1984, to the parents of John and Olufunto Giwa. </p>

标签: html

解决方案


你应该把它写成

<p> <span style="color:red;"> Your Text</span</p>

推荐阅读