Adding HTML, Javascript or Code to your site

Sometimes users want to be able to add extra functionality to their site and more times then not that involves adding code. Code can be very dangerous to add to a site so we limit some of the things you post on your site.

If you have added some code recently and noticed that it has disappeared its most likely because we have stripped it from the content. If you think that this is because of an error please contact us. Otherwise please reference the allowed code below.

HTML Tags

BodyPress Sites allows the following HTML code in your posts, pages, and widgets:

address, a, abbr, acronym, area, article, aside, b, big, blockquote, br, caption, cite, class, code, col, del, details, dd, div, dl, dt, em, figure, figcaption, footer, font, h1, h2, h3, h4, h5, h6, header, hgroup, hr, i, img, ins, kbd, li, map, ol, p, pre, q, s, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var

Check out W3 Schools for more information about what each of these HTML codes are used for.

If you are familiar with HTML, you’ll notice that codes such as embed, frame, iframe, form, input, object, textarea and others are missing from the above list. Those codes are not allowed on BodyPressSites.com for security reasons.

JavaScript

Users are not allowed to post JavaScript. JavaScript can be used for malicious purposes. As an example, JavaScript has taken sites such as MySpace.com and LiveJournal offline in the past.

JavaScript from trusted partners, such as YouTube and Google Video, is converted into a WordPress shortcode when a post is saved.

Flash and Other Embeds

Flash and all other embeds are not allowed in posts, pages, or text widgets. For security reasons, we remove the tags needed for these to work. Your intentions may be innocent, but someone somewhere might try to use such embeds to damage the site, affecting all of our users.