How to Hack Website with Basic HTML Coding

If you have basic HTML and JavaScript knowledge, then you may be able to access password-protected websites and this article will give you an easy method to hack simple and less-secure websites of your choice simply through HTML and use it responsibly.

This simple and easy trick will help you to hack any websites easily But this method works only for websites with extremely low-security barriers and websites with robust security details will not be susceptible to this kind of simple attack.

So, Here are simple 8 Steps will help you to hack a website with Basic HTML coding.  

Step 1:
Open the site you want to hack and provide any wrong username and wrong password combination in its log in form. (e.g.: Username: XYZ and Password: ‘ or 1=1 –) An error will occur saying wrong username and wrong password and now be prepared because your experiment starts from here. 


Step 2:

Right click anywhere on that error page and go to view source code of this page and you can also use short-cut ( Ctrl + U ). Step 3: 

After view the source code, there you can see the HTML coding with JavaScript and there you find something like this…. <_form action=”…Login….”> and before this login information copy the URL of the site in which you are (e.g. :”< _form……….action=…….>”).

How to Hack a Website with Basic HTML Coding

Step 4: 

Delete the JavaScript from the above that validates your information in the server and do this very carefully and note that your success in hacking the web-site depends upon how efficiently you delete the java script code that validates your account information on page.

Step 5: 

After that take a close look for “<_input name=”password” type=”password”>”[without quotes] -> and replace “<_type=password>” with “<_type=text>” and see there if maximum length of password is less than 11 then increase it to 11 (e.g.: if then write).

How to Hack a Website with Basic HTML Coding

Step 6: 

After the changes, go to save this file save as and save it anywhere in your computer hard disk with extension .html (e.g.: xyz.html).

Step 7: 

After the save this file, reopen your target web page by double clicking ‘xyz.html’ file that you saved in your pc hard disk earlier and now you see that some changes in current page as compared to original one and do not worry.

Step 8: 

Now, provide any Username (e.g. = hacker) and password (e.g. = site-hack) and you have successfully cracked the above website and entered into the account of list user saved in the server’s database.

Rahul Sharma

Hello, I am Rahul Sharma and I love to write articles. Now I am Author at And I also working as Blogger with E Friends. As a Blogger at I writes news and articles regularly on Tech , Gadgets and more.

Leave a Reply

%d bloggers like this: