【发布时间】:2017-03-21 16:09:21
【问题描述】:
我在使用 align 属性时遇到以下错误。 如何使用适当的 HTML5 兼容语法解决此错误?
<table align="center">
<tbody>
<tr>
<td><input type="text" name="username" placeholder="User Name" id="username" autocomplete="off"></td>
</tr>
<tr>
<td><input type="password" name="password" placeholder="Password" id="password" autocomplete="off"></td>
</tr>
<tr>
<td align="right">
<input type="submit" class="btn btn-success" id="loginbutton" value="LOGIN" />
<input type="reset" class="btn btn-danger" id="resetbutton" value="RESET"/></td>
</tr>
</tbody>
</table>
【问题讨论】:
-
如果您完全搜索过这个,那就太棒了。 Here 是一个 5 年前的问题,告诉你如何解决它