Hi Ankit Dixit,
Thank you for contacting Syncfusion support.
In JavaScript, we can embed JS in an HTML file in ways like embedding between the script tag (inline script), from an external script file (.js), using the "javascript:" protocol. Please refer to the link below for more information.
Please feel free to get back to us if you have any queries with our Syncfusion components.
Regards,
Saranya M