html - 如何重新着色段落
问题描述
我正在尝试用红色编写该段落,但没有得到预期的结果,有人可以帮助我吗?
<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>
解决方案
你应该把它写成
<p> <span style="color:red;"> Your Text</span</p>
推荐阅读
- python - 打印彩色文本
- r - R lubridate 按年份自定义 week_start
- nginx - 无法使用 nginx 反向代理从 Web 应用程序以及 CSS 访问其他页面
- django - 如何通过某些属性用 MAX 注释相关对象
- flutter - PDF DrawString 不断线
- html - 反应路线什么都不返回?
- rxjs - 如何在 2 个 observables 发出值并获得发出值的结果后运行代码?
- python - 如何在 BeautifulSoup 中区分带和不带href?
- imagemagick - magick/mogrify -transparent 命令副作用
- amazon-web-services - 达到限制后自动暂停整个 AWS 账户