Logo
Logo

Using HTML In Text Fields

Using HTML in Breakdance Text Fields

In this tutorial, you will learn how to use HTML code within most text fields in Breakdance, allowing you to easily format text, integrate with JavaScript plugins, and much more.

Adding and Formatting Text

Breakdance includes many elements which allow you to edit their text content. Most text fields allow you to input HTML.

Using HTML within Text Fields

  1. Locate a text area or text field in Breakdance.
  2. In the text field, write your desired HTML code. For instance:
    1. To make a word bold, you can wrap it with the <strong> tag.
    2. To make a word italic, use the <em> tag.
  3. Review your changes to see the effect. For example, one of your words should now appear bold, and another should appear italic.

Advanced Use Cases

JavaScript & Styling

  1. If you wish to integrate with JavaScript plugins or libraries, you can easily add specific HTML tags or assign classes to words.
  2. For instance, you can wrap a word with the <span> tag or assign a specific class to achieve a particular effect or styling.

Additional Notes

Remember, the ability to add HTML directly into Breakdance text fields provides a flexible way to format and enhance your content, from simple formatting to advanced integrations. Always ensure you are using the correct HTML syntax to avoid any rendering issues.