aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/learn/forms/form_validation/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/learn/forms/form_validation/index.html')
-rw-r--r--files/zh-cn/learn/forms/form_validation/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/learn/forms/form_validation/index.html b/files/zh-cn/learn/forms/form_validation/index.html
index 827e0a905e..440dd8e985 100644
--- a/files/zh-cn/learn/forms/form_validation/index.html
+++ b/files/zh-cn/learn/forms/form_validation/index.html
@@ -391,7 +391,7 @@ input:focus:invalid {
<p>要自定义这些消息的外观和文本, 你必须使用 JavaScript; 不能使用 HTML 和 CSS 来改变.</p>
-<p>HTML5 提供 <a href="http://www.w3.org/TR/html5/forms.html#the-constraint-validation-api" rel="external" title="http://www.w3.org/TR/html5/forms.html#the-constraint-validation-api">constraint validation API</a> 来检测和自定义表单元素的状态. 除此之外,他可以改变错误信息的文本. 让我们快速的看一个例子:</p>
+<p>HTML5 提供 <a href="http://www.w3.org/TR/html5/forms.html#the-constraint-validation-api" rel="external">constraint validation API</a> 来检测和自定义表单元素的状态. 除此之外,他可以改变错误信息的文本. 让我们快速的看一个例子:</p>
<pre class="brush: html">&lt;form&gt;
&lt;label for="mail"&gt;I would like you to provide me an e-mail&lt;/label&gt;
@@ -672,7 +672,7 @@ form.addEventListener("submit", function (event) {
<li>SmashingMagazine: <a href="http://uxdesign.smashingmagazine.com/2012/06/27/form-field-validation-errors-only-approach/" rel="external">Form-Field Validation: The Errors-Only Approach</a></li>
<li>SmashingMagazine: <a href="http://www.smashingmagazine.com/2009/07/07/web-form-validation-best-practices-and-tutorials/" rel="external">Web Form Validation: Best Practices and Tutorials</a></li>
<li>Six Revision: <a href="http://sixrevisions.com/user-interface/best-practices-for-hints-and-validation-in-web-forms/" rel="external">Best Practices for Hints and Validation in Web Forms</a></li>
- <li>A List Apart: <a href="http://www.alistapart.com/articles/inline-validation-in-web-forms/" rel="external" title="http://www.alistapart.com/articles/inline-validation-in-web-forms/">Inline Validation in Web Forms</a></li>
+ <li>A List Apart: <a href="http://www.alistapart.com/articles/inline-validation-in-web-forms/" rel="external">Inline Validation in Web Forms</a></li>
</ul>
</dd>
</dl>