Author Topic: Forum vs. "Normal" HTML  (Read 468 times)

jessmanboo22

  • Iokan (+1)
  • *
  • Posts: 7
    • View Profile
Forum vs. "Normal" HTML
« on: November 04, 2008, 11:50:55 pm »
I made this post when I was around 12 years old and didn't know anything about computer science, web design, or any of those kinds of things.

blaaaaaaaattt
« Last Edit: September 25, 2013, 04:27:11 am by jessmanboo22 »

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1756
    • View Profile
Re: Forum vs. "Normal" HTML
« Reply #1 on: November 04, 2008, 11:55:39 pm »

V_Translanka

  • Interim Global Moderator
  • Arbiter (+8000)
  • *
  • Posts: 8340
  • Destroyer of Worlds
    • View Profile
    • http://www.angelfire.com/weird2/v_translanka/
Re: Forum vs. "Normal" HTML
« Reply #2 on: November 05, 2008, 01:35:39 am »
If you want to show board tags, just do this...

[*img]http://www.outregallery.com/images/products/dont_be_stupid.jpg[/img]

The asterisk will stop them from being implemented...and it doesn't look all lame like spelling out "brackets" & such...:lol:

Ramsus

  • Guest
Re: Forum vs. "Normal" HTML
« Reply #3 on: November 05, 2008, 05:21:59 am »
Hello y'all

I really wonder... I get annoyed when I just finished learning all the HTML I could possibly learn, and then you go to a forum and there's a completely new set of tags that have to be used!
I hope you don't get the impression that I'm complaing; rather, I guess I'm asking if anyone knows why Forum HTML's seem to be so different from Webpage HTML's.

For example, tags have to go in brackets instead of carets, and url's are put like the following (words in bold indicate the symbol they name)

bracketurlbracketyour url herebracket/urlbracket, rather then something like carot"a href=your url here"carotYour text herecarot/acarot

Does anyone know why forum HTML is different?

EDIT: :shock: Oops, sorry, all those red backgrounds are kind of ye straining... here, I just changed it to bold  :).

Cross-site scripting attacks. That's the reason we don't simply allow HTML in posts. You have to sanitize inputs, and it's much safer to simply disallow HTML tags. Even BBCode can be implemented with serious vulnerabilities if you simply convert them to HTML tags or toss their values into HTML tags and attributes without sanitizing them first...
« Last Edit: November 05, 2008, 05:25:36 am by Ramsus »

Jutty

  • Black Wind Agent (+600)
  • *
  • Posts: 614
  • The Most In-Frequent Poster Ever
    • View Profile
Re: Forum vs. "Normal" HTML
« Reply #4 on: November 05, 2008, 05:47:54 am »
If you know html then you should have no problem reading and understanding how to use BBcodes.