The first one is using these codes:
You can connect the JavaScrip to HTML using this pure HTML solution. The entire JavaScrip is linked to the HTM separately.
The second way is using these codes:
/* <![CDATA[ */
/* ]]> */
Lastly, you can manage working on these codes, but it is not advisable to use this since it disorganizes the codes.