Here are some basic HTML tags you might want to use on your Static FBML custom Facebook Fan Page tabs, or anywhere else you need a quick snip of HTML.
To make a word clickable to another website:
<a title=”whatever the name of the linked page is” href=”http://www.whateverwhatever.com”>word you want clickable</a>
To insert a picture:
<img src=”http://www.whereverthepicturelives.com/picturename.jpg”>
To insert a picture so that it is linked to a website:
<a href=”http://www.whatever.com/linktoexactpage.html” target=”_blank”><img src=”http://www.whereverthepicturelives/picturename.jpg” alt=”whatever this is a picture of including a keyword or two” border=”0″></a>
To skip down to the next line:
<BR>
To skip a whole line between items:
<p>
To center something:
<center>whatever whatever</center>
To make words BOLD:
<b>whatever word you want bold</b>
To make words ITALIC:
<i>whatever word you want italicized</i> (that is the etter “i“)
To change the font size (1 seems to be normal small font, go up from there by changing the number and saving, then checking it):
<font size=”3″>whatever word(s) you want larger</font>
Note: You can add multiple tags to a section, but you must always have a beginning tag and a “closing“ tag (like </whatever>) in the reverse order in which you opened them, so that the pairs of tags (opening and closing) “hug“ the item. Ex: <b><i>This is bold and italic!</i></b>
So play around with it, always save your work, and TEST it out. You can always go back and edit to change it back or try something different.
Do you need to know any others? Let me know in the comments!
UPDATE: Facebook now has a limit of 520 pixels for any images/tables on a custom tab. If you’re having trouble getting something to load, make sure it is sized to less than 520. You can edit graphics free at picnik.com or your own image editor. (note that sometimes you need to rename the file to get it to work!)
ALSO if you’re having trouble when you copy/paste code from this blog post, paste it into a plain text document first – completely plain text – since the “curly quotes” I have on this blog do not work on Facebook!
: /public_html/mybusinesspresence.com/wp-content/uploads/2011/11/NEWMPBheader1111.jpg)







: /public_html/mybusinesspresence.com/wp-content/uploads/2011/11/TASMad-1.jpg)

: /public_html/mybusinesspresence.com/wp-content/uploads/2009/09/nsa_member_logo3.jpg)
: /public_html/mybusinesspresence.com/wp-content/uploads/2011/11/Screen-shot-2011-11-09-at-9.21.57-AM.png)
: /public_html/mybusinesspresence.com/wp-content/uploads/2011/11/DSWA.jpg)

{ 148 comments }
← Previous Comments
how can i have a picture this big in a tab?
http://www.facebook.com/?ref=home#!/NesvitaPakistan?ref=ts
i am using the simple <img src=”http://www.whereverthepicturelives/picturename.jpg” code ! but i am limited to 520 px only due to new facebook rules, how come everyone else still has pictures this big ! i need a code help help !
thank you this really helps. i have the fbml fan page app and novice knowledge of html.fbml codes. when the tabs are selected within the app it opens up a new window for the website or pics, instead of showing inside the app like its supposed to. how do i fix this? you can call me if you need to 347-878-1574 thank you kn advance
How do I get text to feed next to a picture in a custom FBML tab? I know how to set it up in HTML, but that doesn’t seem to work. Is it possible? An example of what I’m trying to do: http://www.premierhcs.net/ed_brochure.asp
Picture to the right, text flowing next to it on the left
Hi. Fantastic article!
I copied your code to insert a picture linking to a website and saved changes to the FBML box. When I click the tab, I get the red “X” inside the box and when I right-click to show pictures, nothing happens. The link is functional and the alt-tag shows, just not the photo. The photo itself is a JPEG 520 pixels wide and is hosted on Flickr. Any ideas would be greatly appreciated. Thanks!
can you tell me please why the that i put on my page won’t work. this are the codes that i used:
What’s the code for wrapping copy around a photograph?
When I use the code for linking text to an external site, it goes to facebook.com/”the name of the site” rather than actually going to the site. Any suggestions?
Hi there,
Using a templet I have edited this FBML ‘welcome’ page with these two boxes. Do you know what part of the code do i need to duplicate so that I can add more box-look alikes further down the page?
#container { width: 520px; }
#containerLeft { width: 320px; }
#containerRight { float: right; border-left:1px solid #D8DFEA; width: 184px; }
.imageContainer { margin: 0 auto 0 auto; text-align: center; }
.box { border-top:1px solid #94A3C4; position:relative; }
.box .box_header {background:none repeat scroll 0 0 #ECEFF5; border-top:0 none; display:block; padding:5px 8px; position:relative;}
.box .box_content {padding:10px 8px;}
Hi Karen,
Thanks for the article. Can I use an image map in an FBML box? I have some HTML code that works great outside of FB, but once I paste the code in an FBML box I lose the links (picture is there). Here’s the code. Maybe I’m missing something?:
Hi Karen,
I am new to FBML and HTML. I’ve been working on my business fan page and almost have it the way I want. Problem is, I can’t get the font size to change. I’ve changed it to everything under the sun, but it doesn’t affect the text as it appears on my tab. Here is the code I’m using…
<TD width=241 bgColor=#ecb717 height=181 Stephanie and Jeremy Brady
If you want to view what I’m trying to achieve, you can visit…
http://www.facebook.com/stephanieandjeremybrady?v=app_4949752878
Thanks!
Karen,
Thanks so much for your response. I used the image map tool that you mention above and I finally was able to make it work, thank you so much for posting this information!
Hi Karen ,
I am absolutely new to the concept of FBML.
Having some issues designing my page.
I designed everything using FBML and , But i dont know where i can find the canvas size. any ideas?
Hi Karen,
I have an image that lives here: http://store.barefootbooks.com/media/catalog/product/cache/1/image/540×425/e5c3f25dbe2a3021345b55270d5894a1/D/a/Dance-Stories-UKUSHBCD_W.jpg
I tried pasting this code using the instructions above but the image doesn’t show on my fan page.
Here is my specific code with image location and where I want it to take viewers:
Thanks!
Hi,
I hope you can help.
I want a space between the two images below the main one on this page.
http://www.facebook.com/pages/Langley-BC/Langley-Fraser-Valley-Real-Estate/130878596960359?v=app_4949752878
Here is the code for the images and links but not sure how to ad a space between the two images and have them centered below the main image.
Thanks so much in advance!
Follow me on Twitter: bobbyhagstrom
September 17, 2010 at 12:19 pm
Thanks, Karen! I was editing my Welcome landing page and was looking for FBML code and you had exactly what I wanted, but now I found you have so much more! I bookmarked your site…really awesome stuff.
By the way, I filled out your opt-in form, and I got the error message:
» An invalid Interest Group was selected.
Am I missing something? I checked “solo-preneur”
Bobby
Hi….. I wanted to know something. Is there any other way to show my website in static FBML BOX rather than using picture or text linking to it? Thank you
Thank you sooo much! I just used this info to really freshen up my FB page: http://www.facebook.com/babyboat1?v=app_4949752878. I couldn’t work out how to bold, italic, centre or anything, so this is fantastic. I just completed fixed by page, and am very happy! Simple but practical advice Thanks so much!
http://www.facebook.com/pages/Doncaster-United-Kingdom/Olive-Tree/109463959282?v=app_7146470109
Great article, however I need some help. On the above link I have one image with no link and under that another with a link to a pdf. This all works fine, but I get a gap between the two. Can you tell me please how to remove this gap.
Kind regards Rik
I have what I think is a simple request. I want to create an FBML tab that looks and functions just like the current Wall—I just want to remove the ability for others to “comment/like/promote” on my posts. Any ideas? Then I will copy the FBML code to the the wall of my business page. Thanks for your help!
Thanks so much for the help!
I have an image that I would like to place in FBML. The image is too big and I understand that it has to be 520 pixels, so I resized the image to the appropriate pixel size and now it is saved on my computer but it doesn’t have a url. How would I insert the new correct size image into FBML if it is saved on my hard drive. Great post by the way, helped me out alot.
Hello there to everyone…
I want to make a comment form to my page…is that impossible ?
I want to add a way for people to message me on my ‘fan’ page…I want them to be able to do this anonymously…any ideas???
Hi Karen. Thank you for your article, it is very helpful. I am new to html code and am having problems. All I want to do right now is show my portfolio photo in my FBML box. So, all I would need is an img src right? I uploaded my photos on Photobucket, created a 9 img pyramid and grabbed my img code. Well, a box with a “?” is all I see.
Here is my code:
Am I missing something?
THANK YOU IN ADVANCE
I lowerd the width and still, nothing. Yes, it is a jpg. I must be missing something very simple. Here is my code, thank you so much Karen!
{img src=”http://i794.photobucket.com/albums/yy223/Cynthia_Levesque/Identitly%20Design/Ink-Trotting-1.jpg” width=”460px” height=”402px” border=”0″ alt=” “}
I am trying to add indents to the first line of paragraphs using other code that I have found, but nothing seems to work. I have bookmarked your page as this is awesome for introductory stuff. Is this something you can add to the above tutorial? Our fan page is http://www.facebook.com/cmsomaha and I am trying to edit the contest voting box, if you need to look it up at all. Thank You.
Karen I got it to work. I reuploaded my photos to Photobucket and they worked. Not sure what happened. I do have large gaps between my photos. I cropped each one so there isn’t any white space above or below, and I did not use any “breaks {br}” in my code, but still….big gaps? Thank you!
Thank you. That worked awesome. I appreciate your help!
Karen…I just wanted to say THANK YOU for all your help. I am much more comfortable with the software now and you were a tremendous resource. I changed the site up some, just waiting on some more product photos to move forward. THANK YOU for becoming a fan
I am having a lot of trouble inserting my banner image into the FBML box. This is the code I’m using:
An empty square shows up, so the outline of the image is there, but not the actual image. I have tried altering the code in every single way imaginable and nothing seems to work. Could it be the image link from photobucket? I’ve tried using the image source link, the URL link and the HTML link photobucket provides and nothing works.
Many thanks,
Julia.
Hello Karen, I have created a FBML page, however I would like to keep the content private until someone “likes” my page. I’ve scoured the facebook developer forum, but can’t seem to find it. By chance, do you know the code?
Here is my link: http://www.facebook.com/winstonsalemhomesforsale?v=app_4949752878
Thanks!
Tony
Hi, I added a new tab with fdml to a corporate page at facebook but I can´t put pictures or texts that link to a web page there.
I did exactly what you said here above;
Heres an example
SKY
I do not know what you mean by “picturename” though.
Can you please tell me what I´m doing wrong?
thank you
I have created an FBML page in Facebook, but I CANNOT get the hyperlinks to work AT ALL. I have stripped everything down to very basic CSS and HTML, but the links just DO NOT WORK!
Here’s my code…
p { font-size: 2em; }
a { color: red; }
This is a test.
This is a test. It should be hyperlinking to Yahoo, but it’s clearly not working.
It gets NO SIMPLER THAN THIS…does anybody have any idea why hyperlinks aren’t working in the Facebook “boxes?”
this really helps me a lot. People like you are the best example for us …. thanks a million.
Hey I’ve read some of your hints and they’ve been a great help. I was wondering if you could help me with something. I have attached links to words, created spaces before the next word, and the “link” carries over to the next word. How do I get the “link” to end? Thanks!
Amusement Parks
Here I do not want “Amusement Parks” to be a hyperlink, but it is and every space above it is too…
oops, i thought it would just show the text but instead turned it into a link. sorry.
a href=”http://www.officialusa.com/stateguides/zoos/ohio.html target=”_blank”a
font size=”3?>Amusement Parks
Hi Karen! I have a question, not sure if you have recieved this one yet…
Can I add my coding for an OPT-IN (eNewsetter sign up on FB) into a graphic? So that the opt-in box is actually part of the jpg????
If you follow this link, you will see what I am talking about:
http://www.facebook.com/DrShannonReeceFans?v=app_7146470109
THANK YOU IN ADVANCE!
You saved my life today! Very useful information!!
Thanks for sharing a good information, Can I create comments option on FBML page? if yes than how? if you have any code plz mail me or publish here.
Thanks
Sidd
TNX… YOU REALLY HELP ME!
Ah, you are the best! I was looking for the FBML image dimensions and you not only had that info but pretty much everything else I was looking for
Thanks big time!
this was so simple, and so extremely helpful!
from a girl who has no basic knowledge of html, i was able to complete a html task!
THANK YOU!
any suggestions for good resource/book for html 101?
Do u now some FBML font codes?
karen,
hi! after googling all over for 2 days, finally stumbled upon your very helpful post. THANK YOU! i finally have a useful landing page without having to pay monthly.
Hi Karen,
Any suggestions where or how to start of having a moneyclub19.com as a fan page and use FBML?
I would like to embed an email sign up. So that anyone can punch in an email address and we have it. Any suggestions on how to do that would be much appreciated!
Follow me on Twitter: mybizpresence
January 15, 2011 at 2:17 pm
Hi Amy – not sure, there was a time when the older sized images were still allowed but new ones had to be 520 but now they are all 520.
See this: for FBML Codes and examples : http://imransarwar.com/index.php/static-fbml-examples-for-facebook-fan-page/
FBML Examples : http://imransarwar.com/index.php/static-fbml-codes-examples/
← Previous Comments
{ 17 trackbacks }