HTML links can reference URLs with different protocols, such as
http:, ftp: or news:.
The following example will create a link that opens a warning window with the text "This is a cool Text" when you
Take care of the quotation marks. The quotation marks of the
document.write("A sentence.'); document.write('A sentence.");
By default, the following applies: An event handler always starts with
The event handler that is responsible for the clicking of links is called
If this link is clicked, a modal window opens.
Also be careful with the usage of quotation marks here!
Normally this is not desired. The
href attribute must be set, otherwise the link will not appear (this applies no longer to HTML5. look
here for more information ). But there is a way to specify a link wich does not load a page:
Continue to part 4