Inline JavaScript Examples



Inline JavaScript Examples


Some Inline JavaScript Examples using the <form> tag which automatically converts to Embed Gadget in Google Sites.

HTML code for these Inline JavaScript Examples.

It is possible to use the <object> tag if you do not require a form. ie. Creating CSS styles

Only for Demonstration purposes you should NOT use many inline JavaScript in a single webpage in Google Sites as it will reduce your webpage loading performance.

SEO Tip

It is possible to attach a jQuery .Click() Javascript Event using the HTML Box . This greatly improves loading times and methods / events / listeneners latency within webpage.

SEO Best Practice:
Keep HTML , CSS and JavaScript together when possible.




Anchor & 'Alert' Box



Button 'Alert' Box


Selection Box 'Alert' Box




Confirmation Box



Popup Window


Bookmarklet for Custom Search Engine