hi. does anybody here knows the HTML Code for inputting password and then if the password is wrong..the little window will pop up saying "wrong password"
serious answers please i will give 5 stars
hi. does anybody here knows the HTML Code for inputting password and then if the password is wrong..the little window will pop up saying "wrong password"
serious answers please i will give 5 stars
HTML is only for markups. You can't do interactivity with it. You could use JavaScript, but then anyone serious could just open up the Source Window and look at the password. The only way you can really do this is with ASP or PHP. Check out tutorials at this site:
http://www.w3schools.com/
Oh, by the way, ASP and PHP are server-side scripting, that is to say that the work is done on the server, not the client's computer, so make sure your webhost supports them first. If you are configuring your own computer as a server, if it's Windows it should come with ASP, but you have to install PHP. Check out php.org. As for Macs, I don't think they come with any server-side scripting at all, but I'm not that farmiliar with them. Check a Mac help site or forum.
If you would use password verification in HTML pls be aware that you are actually exposing your password to your users. Its better to use .aspx, PHP, ASP etc. for a more secure web pages.
It's not possible with HTML because anyone can go to View>View source and figure out what the password is. You will need to use encrypted javascript to do this.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks