Home > Web Front-end > JS Tutorial > body text

JS verification method when logging in to HTML page_javascript skills

WBOY
Release: 2016-05-16 16:46:26
Original
1539 people have browsed it

Develop a registration HTML page to collect user registration information. Includes: name (cannot be empty), age (must be over 17 years old), weight (30-150kg), class (drop-down list), login password (at least 8 characters long), confirmation password (same as login password), Email ( (cannot be empty), phone number, QQ, resume and other information. And create corresponding validations for the elements of these tables. If an error is detected, the error will be displayed in red words behind the input box. You need to use the single-line text input box text, drop-down list box select, password input box password, and multi-line text input box textarea that you have learned in the previous sections. This is a more practical user registration form.

register.html:

Copy code The code is as follows:

< !doctype html>



Experiment 2
< ;link href="check.css" rel="stylesheet" type="text/css">
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template