diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2021-07-26 15:31:56 -0400 |
|---|---|---|
| committer | Irvin <irvinfly@gmail.com> | 2021-07-27 12:52:01 +0800 |
| commit | 13db12ce5c9cfe0c433f35587035dce15eedf294 (patch) | |
| tree | 20671d4a0fda745d305ba2b38037f25f6fbdce58 /files/zh-cn/learn/forms/form_validation/index.html | |
| parent | c53c05cd5c3e7eafdfeb437d02ddad4c9e00ae3d (diff) | |
| download | translated-content-13db12ce5c9cfe0c433f35587035dce15eedf294.tar.gz translated-content-13db12ce5c9cfe0c433f35587035dce15eedf294.tar.bz2 translated-content-13db12ce5c9cfe0c433f35587035dce15eedf294.zip | |
remove link 'title' attributes that's just the 'href' (zh-cn)
Diffstat (limited to 'files/zh-cn/learn/forms/form_validation/index.html')
| -rw-r--r-- | files/zh-cn/learn/forms/form_validation/index.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/files/zh-cn/learn/forms/form_validation/index.html b/files/zh-cn/learn/forms/form_validation/index.html index ba067365aa..827e0a905e 100644 --- a/files/zh-cn/learn/forms/form_validation/index.html +++ b/files/zh-cn/learn/forms/form_validation/index.html @@ -536,7 +536,7 @@ email.addEventListener("input", function (event) { </tbody> </table> -<p>对于旧版浏览器,可以使用 <a href="https://hyperform.js.org/" rel="external" title="https://hyperform.js.org/">polyfill(例如 Hyperform</a>),来弥补其对约束校验 API 支持的不足。既然你已经使用 JavaScript,在您的网站或 Web 应用程序的设计和实现中使用 polyfill 并不是累赘。</p> +<p>对于旧版浏览器,可以使用 <a href="https://hyperform.js.org/" rel="external">polyfill(例如 Hyperform</a>),来弥补其对约束校验 API 支持的不足。既然你已经使用 JavaScript,在您的网站或 Web 应用程序的设计和实现中使用 polyfill 并不是累赘。</p> <h4 id="使用约束校验_API_的例子">使用约束校验 API 的例子</h4> @@ -669,9 +669,9 @@ form.addEventListener("submit", function (event) { <dt>如何帮助用户纠正无效数据?</dt> <dd>为了减少用户的挫折感,提供尽可能多的有用的信息是非常重要的,以便引导他们纠正他们的输入。 您应该提供前期建议,以便他们知道预期的输入是什么以及明确的错误消息。 如果您想深入了解表单校验用户界面要求,那么您应该阅读一些有用的文章: <ul> - <li>SmashingMagazine: <a href="http://uxdesign.smashingmagazine.com/2012/06/27/form-field-validation-errors-only-approach/" rel="external" title="http://uxdesign.smashingmagazine.com/2012/06/27/form-field-validation-errors-only-approach/">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" title="http://www.smashingmagazine.com/2009/07/07/web-form-validation-best-practices-and-tutorials/">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" title="http://sixrevisions.com/user-interface/best-practices-for-hints-and-validation-in-web-forms/">Best Practices for Hints and Validation in Web Forms</a></li> + <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> </ul> </dd> @@ -840,13 +840,13 @@ addEvent(form, "submit", function () { <ul> <li>独立的库(原生 Javascript 实现): <ul> - <li><a href="http://rickharrison.github.com/validate.js/" rel="external" title="http://rickharrison.github.com/validate.js/">Validate.js</a></li> + <li><a href="http://rickharrison.github.com/validate.js/" rel="external">Validate.js</a></li> </ul> </li> <li>jQuery 插件: <ul> - <li><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/" rel="external" title="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">Validation</a></li> - <li><a href="http://unwrongest.com/projects/valid8/" rel="external" title="http://unwrongest.com/projects/valid8/">Valid8</a><span class="hidden"> </span></li> + <li><a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/" rel="external">Validation</a></li> + <li><a href="http://unwrongest.com/projects/valid8/" rel="external">Valid8</a><span class="hidden"> </span></li> </ul> </li> </ul> |
