Recent Topics

using html in posts?

Started by on Mar 14, 2005 – Contents updated: Mar 14, 2005

Mar 14, 2005 03:44    

hi,

When i try to use actual HTML when posting in my blog i get a bunch of <br> tag errors of some sort.

is there anyway to allow HTML?

Thanks.

Mar 14, 2005 04:03

HTML IS allowed, but because b2evolution is written to the XHTML standard (either transitional or strict), certain -old style- HTML tags are deprecated (no longer used).

<br> is one of those tags.

XHTML standards say that each tag must be closed (i.e. have a corresponding </close> tag).

However, some tags (like <hr>, <img> and, in your case, <br>) DON'T.

XHTML provides for this allowing such tags to SELF-CLOSE. To self close these tags, end it with a [space][backslash][and whatever the name is for a sideways hat '>'] (dunno the correct name :oops: )

Looks like:

<br />

Advice? Learn XHTML ... it's gonna be the 'new way'. ;)

Hope this helps.

-stk

PS - If you want, have a peek at /conf/_formatting.php (that's the file that lists all of the allowed tags)

Mar 14, 2005 04:27

ah, i get yea :p, thanks :)


Form is loading...

CMS software – This forum is powered by b2evolution CMS, a complete engine for your website.