Website Building » Wix » How Do I Add a Reference to WiX?

How Do I Add a Reference to WiX?

Last updated on January 7, 2023 @ 4:06 am

You can add a reference to WiX in your HTML file by using the <script> tag. You will need to use the src attribute to specify the URL of the WiX file you want to reference. For example:

<script src="http://example.com/wix.js"></script>

Once you have added the <script> tag, you can then use the <wix> tag to insert WiX components into your HTML file. For example:

GREAT NEWS:

Exciting update! We've collaborated with Wix to offer WBI users with a free plan for all website creation needs - Explore the details here.

<wix type="banner" width="728" height="90"></wix>
<wix type="button" width="120" height="60"></wix>
<wix type="footer" width="728" height="90"></wix>
<wix type="link" width="728" height="26"></wix>
<wix type="image" width="728" height="400"></wix>

Adding a reference to WiX in your HTML file is easy. You just need to use the script tag and include the URL of the WiX file you want to reference in the src attribute. Then, you can use the wix tag to insert WiX components into your HTML file.

PRO TIP: Although adding a reference to WiX in your HTML file is easy, it can be dangerous and is not recommended. This is because WiX is a toolset for building Windows installation packages and adding a reference to it can cause your computer to become unstable.
Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.