But for these kind of webpages we need to use form validation on our webpages, if anyone use Java Script so it’s well and good because Java Script is a very good technique to use and solve Form Validation problems.But we will directly go to our work just create a simple Sign-in page to make you understand the concept of Sign-in webpage in this article.We used legend tag with fieldset tag to use texts on the upper side of the form. Instead of password texts or characters it will show bold dots like ? Because the GET is being used in Phishing webpages, by which people are making fool the internet users to get their personal ID and Password.
For this we will use many CSS Styles, so I think the better way is use an external file and link it to the webpage. Listing 3: We used three ids in the external CSS style webpage.
One we used for the body, we identified it by the body-color name, and we applied CSS styles on it.
In the next one, we used for the div tag and we identified it by Sign-In in the CSS styles webpage.
In the last we used an ID for button and we applied CSS styles on it.
And we should commonly find easiest ways to get rid from the problems. And there is one new thing as type that is password. POST is commonly being used for these kind of webpages, due to its security.
Figure 2: Output of the Sign-in Webpage with updated size of fieldset tag As you can see in the Listing 1 and 2 we used such a good Html tags to design a simple log-in form. The functionality of type password is to don’t show the text what we will enter in the password box. And when we are dealing with our ID and Password, so we should be alert from the hackers.
But before we enter any data to this webpage on Figure 3. One profile page and other ID and password validation.
For checking or validating the ID and Password we need to save ID and Password to the database, for this we need two more things as a database and a table. Listing 4: creating table So we completed the requirements of the database. In which we will get the data and check it if the ID and Password are available in the database and entered correct then the user will be able to online to the user profile page.
And in last we used if statement to know the condition of query.