BBC code stuff

  • 6 Replies
  • 2696 Views
BBC code stuff
« on: July 17, 2009, 03:12:38 »
Why can't we use tags such as [td/] or [i/]?
Lurk more.

*

Offline googoogjoob

  • Forum Walrus
  • 823
  • 9
  • The Walrus is me.
    • View Profile
    • I have a LiveJournal. Yes. I do.
Re: BBC code stuff
« Reply #1 on: July 17, 2009, 03:35:47 »
...what? BBC is
Code: [Select]
[letter]stuff[/letter]not letter/.

You can use
Code: [Select]
[i]text[/i] to make italics; I don't know what you mean by "i/".

The "td" tag thing is used in tables.
good bye

Re: BBC code stuff
« Reply #2 on: July 17, 2009, 04:44:25 »
Well, in html you can do stuff like <element/> instead of having to do <element></element>
Lurk more.

*

Offline Pick Yer Poison

  • 782
  • 3
  • One cool cat.
    • View Profile
Re: BBC code stuff
« Reply #3 on: July 17, 2009, 04:48:08 »
Well, in html you can do stuff like <element/> instead of having to do <element></element>
That's html. This is BBC.

*

Offline LPChip

  • You can only truly help other people by allowing them to fail.
  • 3510
  • 138
  • Excel at the thing you're the best at!
    • View Profile
    • LPChip Interactive
Re: BBC code stuff
« Reply #4 on: July 17, 2009, 05:30:23 »
I don't know why you think it doesn't work, but it does.

I first thought it didn't, but even [rules/] turns into [rules/].

The tag ofcource must still be valid, and both [td/] and [i/] are invalid because they NEED a closing tag. In HTML you cannot use <TD/> and <I/> either.
« Last Edit: July 17, 2009, 05:34:14 by LPChip »
on the left, above my avatar.

MODPlug Central Forum
"If I tried to kill you, I'd end up with a big fat hole through my laptop." - Chironex

*

Offline TechnoGeek

  • 238
  • 0
  • My new project, Notroid
    • View Profile
Re: BBC code stuff
« Reply #5 on: July 17, 2009, 17:52:51 »
Well, in html you can do stuff like <element/> instead of having to do <element></element>

oh, as in <br /> and <img.... />? no wonder i was confused, i thought you were putting the slash at the end of a closing tag.
and lpchip is right, it's xhtml, not html syntax, so it only works for single-element objects, like <img> (in html) and apparently [rules] (in bbc).
Spoiler: Technogeek's Signature (click to show/hide)

Re: BBC code stuff
« Reply #6 on: July 17, 2009, 18:52:58 »
and lpchip is right, it's xhtml, not html syntax
Yes, right.
Lurk more.