Add Static HTML Facebook app
After installing the app, assign the app to anyone of your Facebook Fan page and click Add. Now you can see welcome tab on your Facebook fan page on which we have to add the respective codes.
Example script (just to try)
<html> <head> <title>My Facebook Welcome Page</title> </head> <body> <h1>Welcome to my Facebook Page</h1> <p>Place a text that has to be displayed for Facebook visitors</p> </body> </html>
If you have a close look at the app, you can see another box which is for displaying content for ‘fans only”. This option is quite useful if your running a contest for fans, you can make use of this box to enter fans only content on your Facebook fan page.
After saving the sample HTML code or the custom code create for your landing page hit save. Now view the landing page as non-fan visitor to check out the output. Finally edit your Facebook fan page and set the default landing page as welcome or whatever name you used for the Static HTML Facebook app.