<h2>错误状态</h2> <form> <label class="error">错误 <input type="text" placeholder="Name.."> </label> <small class="error">输入错误</small> <textarea rows="4" placeholder="Address"></textarea> <small class="error">输入错误</small> </form>