` that users can style with either custom inline CSS styles or with custom CSS classes.
```bbcode
[div="style"]content[/div]
[div class="class names" style="style"]content[/div]
```
**Options**
- `style` - The inline CSS to apply to the div. Is the default for single option.
- `class` - Adds custom user defined class to the div. See [Class `[class]`](#class-class) for more information. Similar to standard HTML, multiple classes can be applied to the div via a whitespace separated list.
**As HTML**
This is just a direct translation to html.
```bbcode
[div class="foobar" style="color: red;"]content[/div]
```
```html
content
```
See also:
- [Class `[class]`](#class-class)
- [Script `[script]`](#script-script)
# Font Awesome Icons `[fa]`
Provides the usage of Font Awesome icons in posts. See [Font Awesome](https://fontawesome.com/).
```bbcode
[fa]fa-solid fa-pen[/fa]
[fa style="style" fa-transform="power transforms"]fa-solid fa-pen[/fa]
[fa primary-color="" secondary-color="" primary-opacity="" secondary-opacity="" rotate-angle=""]fa-duotone fa-icon[/fa]
```
**Options**
- `content` - standard FA icon names.
- `style` - Custom CSS styling to be applied. If needed, CSS properties can be applied here. See [FA Style Cheatsheet](https://docs.fontawesome.com/web/style/style-cheatsheet)
- `fa-transform` - Enables the usage of the FA Power Transforms. See [FA Power Transforms](https://docs.fontawesome.com/web/style/power-transform).
- `primary-color` - Applies the given color for Duotone icons
- `secondary-color` - Applies the given color for Duotone icons
- `primary-opacity` - Applies the given opacity to the primary color for Duotone icons
- `seconary-opacity` - Applies the given opacity to the secondary color for Duotone icons
- `rotate-angle` - Applies a custom rotation to the icon
# Headers & Sub-Headers `[h]` `[sh]`
Provides header and sub headers (mapped to h1 and h2 respectively). This is primarily a compatibility bbcode for legacy code. it is recommended to use markdown instead.
```bbcode
[h]Header[/h]
[sh]Sub-header[/sh]
[h1]header level 1[/h1]
[h2]header level 2[/h2]
[h3]header level 3[/h3]
[h4]header level 4[/h4]
[h5]header level 5[/h5]
[h6]header level 6[/h6]
```
# Line Break & No Line Break `[br]` `[nobr]`
Line breaks can be manually inserted via the `[br][/br]` tag. The natural line breaks can be ignored by wrapping a section in `[nobr][/nobr]`.
```bbcode
[nobr]
Hello world![br][/br]I am on a new line.
But this sentence is not on its own line.
[/nobr]
```
```
Hello world!
I am on a new line. But this sentence is not on its own line.
```
# Script `[script]`
- [x] Highlights
- [x] Justified Text
- [x] Blockquotes
- [x] Sub Script ⌨️
- [x] Super Script ⌨️
- [x] Google Font Library
- [x] Paragraph Indent
- [x] Bold, Italic, Underline, Strikethrough Ⓜ️
- [x] Color
- [x] Font Size
- [x] Left, Center, Right
- [x] Spoiler
- [x] Line Break
- [x] Inline Spoiler
Layout & Design
- [x] Dividers
- [x] Image Float
- [x] Fieldsets
- [x] Sides
- [x] Tabs
- [x] Accordions
- [x] ~~Tables~~ now using markdown tables
- [x] Center Block
- [x] Background
- [x] Border
- [x] Scroll Box
- [x] Anchors
- [ ] Rows & Columns
Media & Embeds
- [ ] Google Docs(PDF)
- [x] Height Restrict
- [x] Image
- [x] ~~Challonge - Add as an iframe supported site in settings instead.~~
Aesthetics
- [x] Print
- [x] Text Message
- [x] Blocks
- [x] Progress Bar
- [x] Sticky Note
- [x] Mail
- [x] Newspaper
- [x] Checks
- [ ] Font Awesome Icons
- [x] OOC