Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How are bbcode tags similar to html tags?


Asked by Gideon Woodard on Dec 12, 2021 HTML



It is similar to HTML in the sense that in BBCode one does also use tags to format something specific (contained within the tag). In BBCode tags are indicated by rectangular brackets surrounding a keyword, which is in turn transformed into HTML before being delivered to a web browser.
Likewise,
To use BBcode, you enclose some text within an opening tag and closing tag. The tag name indicates what is done to the text is surrounds. For example, to embed a clickable link on the page, use the [url] tag, like this... BBcode tags are case-insensitive.
Keeping this in consideration, The object's default configuration allows all BBCode to be converted to the default HTML. Defaults to all currently know BBCode tags, being: b, u, i, color, size, quote, code, list, url, email, img.
Thereof,
BB code is a very simple set of instructions (also known as BB tags) that provide rules as to how a piece of text should be formatted. When a page that contains BB code is displayed in the browser, the BB tags are replaced with appropriate HTML tags that the browser can understand.
In addition,
What is BBCode? BBCode is short for Bulletin Board Code. It is used as a way for formatting posts made on message boards, blogs and more. It is similar to HTML in the sense that in BBCode one does also use tags to format something specific (contained within the tag).