Print this Page

Using HTML and other Script in Blogs

If you wrote some code or pasted it in from another web site and then it disappeared after publishing the post, the code is likely being stripped out. This is because some code is dangerous to the site and is therefore not allowed. The following tries to inform you as to what is allowed.

HTML Tags
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, varCheck 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 here.

CSS

If you add markup-html like <span> you can add css to it like this -> <span style=”css code”></span>
General

Coding should be done in TEXT mode, Be warned, when you press VISUAL to check out the formatting, all the custom html css gets removed auto by editor with out <br> tags.

warning do not use ENTER-key to make a new line in TEXT-view, it erases all your custom html, use <br> tag instead.

Permanent link to this article: https://truthofself.com/using-html-and-other-script-in-blogs/

Skip to toolbar