【发布时间】:2021-09-06 04:07:03
【问题描述】:
我为我的 HTML 页面使用了黑色背景图像。我想将单选按钮标签/文本更改为白色(就像问题一样)我该怎么做?以下是我的代码 sn-p.This is how it is looking on the page.
<hr>
<label for="" style="color:white">Cigarette smoking status</label><br><br>
<input type="radio" name="cig-stat" style="color:white" value="0" id="never-smoke" required>Never Smoked Cigarettes<br>
<input type="radio" name="cig-stat" style="color:white" value="1" id="curr-smoker">Current Cigarette Smoker<br>
<input type="radio" name="cig-stat" style="color:white" value="2" id="former-smoker">Former Cigarette Smoker<br>
<hr>
【问题讨论】:
标签: html css forms styling text-styling