SPHPlayground manual

JavaScripts and Meta Data

This section decribes implementations of Client Side Scripting and HTML head elements.

HTML metadata

The Head component implements the HTML head tag and is a container for all meta data components (data about data) MetaContainer. The following list of PHP classes describe HTML meta data components:

Client-side scripting using JavaScript containers

Script interface defines an HTML element for client-side scripting, usually JavaScript.

NOTE!: The best practice of placing client side scripts is usually the end of the page, just inside the closing body tag. This guarantees that all of the DOM elements needed are already present on the page.

Foo User View: