我正在尝试创建一个与此类似的表单。 但我发现很难用表单元素显示文本。
表单将是这样的: 我保证受益所有人是____的居民,符合美国与该国家之间所得税协定的含义_____ (我想用文字字段代替点)
答案 0 :(得分:0)
<p> I certify that the beneficial owner is a resident of <input type="text" /> </p>
将所有内容放在p(段落)标记内。
复制并粘贴代码。
答案 1 :(得分:0)
这样的东西?
body {
line-height: 1.5em;
}
input {
outline:none;
border:0;
border-bottom: 1px solid;
max-width: 80px;
}
<form>
I certify that <input type="text"> within the meaning of the income tax treaty between the United States and that country <input type="text">
</form>
请注意<input>
元素是内联元素,除非另有说明。
答案 2 :(得分:0)
检查一下!这就是你需要的吗?
<form>
<p>
Form will be something like this: I certify that the beneficial owner is a resident of <input type="text"></input> within the meaning of the income tax treaty between the United States and that country <input type="text"></input>.
</p>
</form>