HTML Page does not have any server side code. You need to use a server side technology like ASP.Net.
Still if you need to have Login with HTML. Create a web service and write the login validation code there.
And then call the Web Service method using jQuery in HTML page