Cannot stand Facebook.

Guessing. The widget code is probably of two parts: a <DIV> and a <SCRIPT> (with possibly <STYLE>).

The <DIV> is a rectangle Placeholder HTML code (body).
The <SCRIPT>/<STYLE> is for the Page code (head).

The rectangle (<DIV>) is put anywhere on the page and this appears as your widget button.

Acorn