20.7 Nominating a Favicon

A favicon is a small image, typically 16x16 pixels, shown in association with a web page. Browsers that support favicons usually display the favicon in the address bar, on tabs showing the web page, in any bookmarks created for the page and sometimes in the history.

It is really easy to add a favicon to your web page, just nominate an image (which is really a .png, .bmp, .jpg or .jpeg file loaded into the repository as a bitmap object) from the repository in the Icon property of the BEGIN_COM for the web page. Compile you web page and execute it. That is it.

 

Begin_Com Role(*EXTENDS #PRIM_WEB) Layoutmanager(#TableLayout1) Icon(#XSLansaIcon)