html - 复选框标签的可点击链接
问题描述
我使用 Bootstrap 制作此表单并为隐私添加一个复选框。但我的链接不可点击:
<div class="row">
<div style="margin: auto; margin-bottom: 20px; font-size: 12px; text-align: justify;">
<div class="custom-control custom-checkbox col-lg">
<input name="privacy" type="checkbox" class="custom-control-input" id="privacy" required>
<label class="custom-control-label" for="privacy">
I have read the <span><a class="privacy" href="https://www.example.com">privacy policy</a></span>
and consent to the storage of my data in your archive as
established by the European regulation for the protection of personal data n. 679/2016,
GDPR.
</label>
</div>
</div>
</div>
解决方案
推荐阅读
- css - 页脚超过弹性框项目。无法在页面末尾获取页脚。尝试使用网格和弹性框。这是带有网格的代码
- sql - 在 SQL 中,从一对多表中选择所有 FK,其中 FK 的表数据存在于多个列表/连接中的每一个中
- python - Python:获取返回错误的 Jira 票证
- c++ - 有人可以向我解释为什么这段代码不输出任何东西
- excel - 使用 VBA 调用 AppleScript
- excel - 如何遍历单元格和用户表单文本框以输入数据
- c++ - std::chrono::time_point 线程安全吗?
- snowflake-cloud-data-platform - 如何修复雪花中的 JSON 数据特殊字符问题(UTF-8 转换错误 - 加载了 � 的雪花表)?
- opencl - 使用更大的多个工作组大小 CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE 时性能更差
- java - 将密钥对条目中的公钥替换为可信证书、密钥库