@Yashwanth Yenugu , If you HTML file contains script/javascript, you would need to allow script execution by using below tag in your RP (SignupOrSignin.xml) file.
-----------------------------------------------------------------------------------------------------------
Please "Accept as answer" wherever the information provided helps you to help others in the community.