Skip to main content

HTML Code

Introduction

The HTML Code module in Builderius is a simple module designed to display HTML code snippets directly on your website or application. This module allows you to write small snippets of code where it might be useful to not use other modules to build the same structure. HTML code modules can also be used to write CSS or JavaScript code if they are wrapped in <style> or <script> tags respectively.

This module is a “code blocks” implementation in Builderius. For writing more complex code snippets in Builderius preferred feature is custom JavaScript and Custom CSS as well as GraphQL queries. The HTML Code module is to be used for simple snippets.

Conditions

The Conditions section allows you to set server-side conditions for displaying the HTML Code module. These conditions are processed before the page is generated, meaning that if the conditions are not met, the module will not appear on the page. Conditions are a powerful way to customize what content appears based on various factors. For more information on conditions, refer to our documentation on conditions.

Examples and Use Cases

To better understand the potential of the HTML Code, let's explore some practical examples and use cases. These examples will showcase how you can utilize this module to create various textual elements for your website or application.

Video coming soon

Additional Resources

For more in-depth information the Time module, refer to the following resources:

Conclusion

Congratulations! You've learned about the Gutenberg Blocks module and its essential settings in Builderius. Armed with this knowledge, you can now create any kind of html element to enhance your website or application. Experiment, explore, and unleash your creativity with the Gutenberg Blocks module!