Control the appearance of elements on your web page
Every web page is a collection of several individual elements which are called objects like an image, a link etc.
Display various date time format
Validate forms data
A cookie is a mechanism in a web browser where a simple text sent to the visitors' computer. As it is a piece of text, cookies are not executable. JavaSript can store information from this piece of text on visitor's computer and reuse it automatically next time the user visits the same page.
Detect the visitor's browser