Can I create an HTML window that does not use Javascript? or do I put the Javascript in the & lt; body & gt; section?


I have to create a pop up that will be show when the user click on a link.

I think that I can not use Javascript because I have no access to the full template so I can't put the javascript into the <head></head> section of the page (I can't modify it)

Can I create a pure HTML pop up withous use Javascript or alternatively can I declare my Javascript into the <body></body> of my html code and not into the <head></head> section?



You can do this with HTML and CSS, like so.

To answer your second question, generally it's possible to put Javascript in the <body> section of your page as well.