Skip to content

HTML Syntaxes

kwaroran edited this page Jul 17, 2023 · 2 revisions

HTML Syntaxes

HTML is a markup language that can display websites. on Risu, this can be used to style the chat with inline styles.

HTML in Risu is mostly used with Regex Script, because it costs lot of tokens if you use it alone.

For simple example, If you put <div style="border:1px solid green;padding: 2px">Hello World</div>, It would shown as:

image

With complex HTML, you can do something like this:

image

Learning

HTML is large and complex, so I we cannot tell all about it here. However, The Basics are simple.

HTML looks like <div>data</div>. the <div> is a opening tag, and the </div> is a closing tag. data would be the data that would be inside the html.

To apply styles, add style="something", like <div style="border:1px solid green;">data</div> The string inside style is CSS, which styles the html tag.

and thats it! if you want to know about HTML and styles, check out W3School and Mozila Web Docs.

Extra Info

Unsafe HTML/CSS would be ignored in Risu.

Clone this wiki locally