How to make login page for your website using HTML?

Ask a question+

I want to make login function for my website but don’t know how to create it using HTML, Any advice?

Please check the answer(s) posted and mark the one that best answers your question as the answer.

Community Cop
add comment

2 Answers


I don’t know how to do the backend of it but if you do

    <input type="text" placeholder="username"><br />
    <input type="password" placeholder="password"><br />-
    <input type="submit" value="Login">

That will show the login stuff. The backend part is the more difficult part…

Batman 90
add comment

Login page can be created using HTML. But the login action should has to be defined using a programming language, like python, java or golang. And for each language you have frameworks to write functions. So which language do you prefer? Also you need to choose a database. Which one will you select? Answer depends on that.

Hope this helped a bit.

add comment

Your Answer