Purpose of HTML BB Code?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DCX000
    Senior Member
    • Nov 2009
    • 149
    • 4.0.0

    [Forum] Purpose of HTML BB Code?

    What is the purpose of the HTML BB Code tag? No, it's not in the manual. Maybe considered too basic even for that but I don't know what it is?

    There are bb codes for CODE, HTML and PHP. Why not just use CODE for all? Why does HTML need a special tag, or does it?
    Last edited by DCX000; Mon 11 Jan '10, 6:58pm.
  • s0lidgr0und
    Senior Member
    • May 2007
    • 802
    • 3.6.x

    #2
    It's less complex that coding html within a post.
    s.molinari - I would like to ask all customers to definitely feedback issues with the software and be specific with the issues, but to basically suck-up what happened in the past and try to just look forward.

    Comment

    • Mike Anime
      Senior Member
      • Oct 2004
      • 1841
      • 3.7.x

      #3
      if you want help with code for your site it is easier for others if it is phrased correctley so if you need help with php code you use [ php] some php code [/ php ] (without the spaces) same goes for html or lists.

      also alowing users to post in forums with real html can cause trouble if someone embeds a virus in that code.

      Comment

      • Zachery
        Former vBulletin Support
        • Jul 2002
        • 59097

        #4
        For example:
        php:
        PHP Code:
        <?php
        echo "hello world";
         
        phpinfo(); ?>
        html:
        HTML Code:
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
        <head>
        <title>Hello World!</title>
        </head>
        <body>
        Hello world!
        </body>
        </html>
        Its for markup display.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...