Form elements and attributes in HTML5 provide a greater degree of semantic mark-up than HTML4 and remove a great deal of the need for tedious scripting and styling that was required in HTML4.
在 HTML5 中，表单元素与属性提供了比 HTML4 更语义化的标记，且移除了大量的繁琐的脚本和样式需求。