um, you surely meant javascript:alert("")...
well, it´s simply for opening a message window, here you´ll find everything about alert() and the other window objects in JavaScript together with examples: http://www.w3schools.com/dhtml/dhtml_object_window.asp