Bitcoin Forum
May 06, 2024, 10:35:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BBCODES AND HTML (similarities and differences||questions)  (Read 205 times)
uchegod-21 (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 593


BTC, a coin of today and tomorrow.


View Profile
December 17, 2021, 09:17:41 PM
Merited by Daniel91 (2), Pmalek (2), dataispower (1)
 #1


After seeing Bbcodes in this forum. I compare it to HTML and need to know why HTML is not use here even when is more organize.
I went through many of this links below to read the Bbcodes use in this forum
Quote
I enjoy the codes because it can make somebody creative and make article of someone to look nice or organize.
What I have been doing is to use the idea of HTML that I know to be trying in the forum and I was surprise that most of HTML work here.
I will write some similarities and differences that I notice.


Similarities
A.   Both Bbcodes and HTML are not programming language

B.   Both can maintain a style from outside software like ms word: if I type some text in ms word or notepad and want it to occur in this forum like that I will use this.
Code:
 [pre]the text style[/pre]
. I can use this style to make a table instead of using
Code:
[table], [tr], [td]

Quality     Bitcoin     Fiat
Centralized     No     Yes
Currency        Yes     Yes
Privacy         Yes     No

C.   When open a url if you don’t want to or you don’t want to leave the site: in HTML the link will open in the current tab, but if you want it to open in different tab you put
Code:
 target=_blank in the opening of [a] tag
but in Bbcodes is assume the url will open new tab but if you want it to open in your current tab
Code:
[iurl]httpss://google.com[/iurl]
. But iurl is not working here. I don’t want some of the link I click to make me leave the forum, but all the link always take me out of the forum by not opening in a new tab. Any help?

D.   Both of them has two types of tag. The opening tag - [tag] and the closing tag - [/tag]: If you forget to close the tag, the code will not work or it will spoil your other work.

E.   Both of them have some self-closing tag: like for Bbcodes we have
Code:
 [hr] to rule line horinzontal, [btc] to show bitcoin logo
and for of HTML we have
Code:
 [hr] = horizontal line, [br] = Line break, [img]=Image

Differences
A.   HTML can be understand  by browser but browser will not understand Bbcodes unless the ones that match with HTML
B.   HTML is used to build website but Bbcodes is use in different forum which mean I can create my own Bbcodes if I have my own forum.
C.   Bbcodes is somehow simple than HTML
D.   In Bbcodes they forget very important thing in Table. that is table head (th). I saw some people that use to bold the first colon of table data (td) to formulate there table head (th)

Why does the forum use Bbcodes instead of HTML?

  • Because Bbcodes is simple than than HTML
  • So that the forum will not be attack.
my question
How will the forum be attack?
Because with both Bbcodes and HTML? someone can share link.
Too if someone use a strong HTML? parser will there still be risk?



R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
BlackHatCoiner
Legendary
*
Online Online

Activity: 1512
Merit: 7355


Farewell, Leo


View Profile
December 17, 2021, 09:37:35 PM
Last edit: December 19, 2021, 08:07:58 PM by BlackHatCoiner
Merited by ABCbits (1), Pmalek (1)
 #2

So that the forum will not be attack.
You can't attack a website by allowing html tagging. You can make your restrictions if you want to avoid some html tags, but it's not a server-side language that can be abused somehow. It's just that bbcode is simpler to type than html.

Less-than and greater-than signs are harder to type than brackets. Also, it's far easier to type the following:
Code:
[url=https://URL]Link[/url]

Instead of:
Code:
<a href="https://URL">Link</a>

Same happens for almost every html tag.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
FatFork
Legendary
*
Offline Offline

Activity: 1596
Merit: 2588


Top Crypto Casino


View Profile WWW
December 18, 2021, 12:01:58 AM
 #3

Why does the forum use Bbcodes instead of HTML?

BBCode and HTML serve completely different purposes. BBCode is parsed and converted to HTML by the server while HTML is rendered in your web browser. If HTML were enabled within posts, there would be a danger of bad code ruining the look of the entire site.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
isaac_clarke22
Sr. Member
****
Offline Offline

Activity: 1596
Merit: 264


View Profile
December 18, 2021, 01:08:19 AM
 #4

As what BlackHatCoiner said, you can't just attack websites with html alone.
I suggest you to read the difference between the client-side(front-end) and server-side(back-end).
That question reminds me of this meme:




Image source: Facebook Link

tranthidung
Legendary
*
Offline Offline

Activity: 2268
Merit: 4010


Farewell o_e_l_e_o


View Profile WWW
December 18, 2021, 02:06:43 AM
 #5

Quote
Both can maintain a style from outside software like ms word
There are tools to convert back and forth between BBcode and HTML as well as Word .doc such as that one: How to convert a Word .doc to bbcode for Bitcointalk

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
bitmover
Legendary
*
Online Online

Activity: 2296
Merit: 5921


bitcoindata.science


View Profile WWW
December 18, 2021, 11:33:11 AM
 #6


A.   Both Bbcodes and HTML are not programming language

I think you are doing a lot of confusion.

Html is a programming Language, so does BBcode.

According to Wikipedia

Quote
BBCode is a lightweight markup language used to format messages in many Internet forum software, first introduced in 1998. The available "tags" of BBCode are usually indicated by square brackets ([ and ]) surrounding a keyword, and are parsed before being translated into HTML.[1]
https://en.m.wikipedia.org/wiki/BBCode

Quote

  • Because Bbcodes is simple than than HTML
  • So that the forum will not be attack.
my question
How will the forum be attack?
Because with both Bbcodes and HTML? someone can share link.
Too if someone use a strong HTML? parser will there still be risk?



I think the forum uses bbcode just because it is a language specifically designed for internet forums.  It is easier to use than HTML, and SMF forums (the current forum software) uses it.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
SFR10
Legendary
*
Offline Offline

Activity: 2996
Merit: 3421


Crypto Swap Exchange


View Profile WWW
December 19, 2021, 03:39:59 PM
Merited by Pmalek (1)
 #7

I don’t want some of the link I click to make me leave the forum, but all the link always take me out of the forum by not opening in a new tab. Any help?
Just use the "scroll wheel/middle button" instead... There was a security issue, so theymos had to remove or rather, alter its behavior: Links no longer open in a new window/tab

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BernyJB
Full Member
***
Offline Offline

Activity: 168
Merit: 190


View Profile
December 20, 2021, 02:31:53 PM
 #8

uchegod-21: BBCode (or "Bulletin Board Code") is a markup language designed specifically to be used safely on forums and the like.

It's true that neither HTML nor BBCode are programming languages. A programming language tells the computer what to do. HTML and BBCode just add tags to text, to aid in formatting.

It's also true you can't run an attack on HTML. You can, however, call Javascript from HTML, and launch the attack using Javascript. on BBCode you can't do that.

You can think of BBCode as "baby HTML" of sorts. It can be parsed by HTML, but offers limited features compared to it (the most important being its inability to run scripts within it).

You can read more about it here: https://en.wikipedia.org/wiki/BBCode and here: https://www.bbcode.org/.
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7135



View Profile
December 20, 2021, 02:44:27 PM
 #9

I don’t want some of the link I click to make me leave the forum, but all the link always take me out of the forum by not opening in a new tab. Any help?
Like SFR10 said, hover over the link you want to open and click on the mouse wheel. That will automatically open that link in a new tab. It works for Bitcointalk as well as outside sources and links you find while browsing the Internet. If you have a really old mouse that doesn't have that middle wheel or you are using your laptops touchpad, right-clicking on the link and clicking on "open link in new tab" achieves the same results.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
BernyJB
Full Member
***
Offline Offline

Activity: 168
Merit: 190


View Profile
December 20, 2021, 02:52:06 PM
 #10

I don’t want some of the link I click to make me leave the forum, but all the link always take me out of the forum by not opening in a new tab. Any help?
Like SFR10 said, hover over the link you want to open and click on the mouse wheel. That will automatically open that link in a new tab. It works for Bitcointalk as well as outside sources and links you find while browsing the Internet. If you have a really old mouse that doesn't have that middle wheel or you are using your laptops touchpad, right-clicking on the link and clicking on "open link in new tab" achieves the same results.

Yep. Or right click on it if you're using a laptop.
uchegod-21 (OP)
Hero Member
*****
Offline Offline

Activity: 938
Merit: 593


BTC, a coin of today and tomorrow.


View Profile
December 21, 2021, 09:42:21 PM
 #11

I don’t want some of the link I click to make me leave the forum, but all the link always take me out of the forum by not opening in a new tab. Any help?
Just use the "scroll wheel/middle button" instead... There was a security issue, so theymos had to remove or rather, alter its behavior: Links no longer open in a new window/tab
Thank you very much.


It's true that neither HTML nor BBCode are programming languages. A programming language tells the computer what to do. HTML and BBCode just add tags to text, to aid in formatting.
This is true. Thank you for confirming it.

. If you have a really old mouse that doesn't have that middle wheel or you are using your laptops touchpad, right-clicking on the link and clicking on "open link in new tab" achieves the same results.
Thank you for more solution.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
dataispower
Sr. Member
****
Offline Offline

Activity: 1330
Merit: 289



View Profile
January 25, 2022, 03:06:50 PM
Merited by Wiwo (1)
 #12

It is good that new people are trying to learn bbcodes. It is very difficult to know all the bbcodes, but continue to practice it since you have idea of html.
Forum use BBCodes because bbcodes is meant for forums or groups.
It makes communication easy and beautiful.
Wiwo
Hero Member
*****
Offline Offline

Activity: 1050
Merit: 679


View Profile WWW
January 25, 2022, 03:31:09 PM
 #13

It is good that new people are trying to learn bbcodes. It is very difficult to know all the bbcodes, but continue to practice it since you have idea of html.
Forum use BBCodes because bbcodes are meant for forums or groups.
It makes communication easy and beautiful.
We keep learning daily, some of us never know how to sign a message on our wallet or even encrypt a message before now but through the help of forum users we were able to learn all this, the same applies to BBCode before now I never know how to generate and use them on the forum but with persistent efforts, I can post them now free and enjoy the beauty and quality it brings to my readers.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!