+ Start a Discussion

Integrating javascript/HTML in visualforce page


I have a HTML page like below which i want to integrate in Visualforce page.
How can i do so, please
<!DOCTYPE html>
<title>Page Title</title>
<script src=" https://cdn.chatbotpage.com/testingcode/bundle.min.js"></script>

<h1>My First Heading</h1>
<p>My first paragraph.</p>
<div id="chatbot-root"></div>


Best Answer chosen by Sandrine
ANUTEJANUTEJ (Salesforce Developers) 
Hi Sandrine,

I see that all that is present in the above HTML snippet is script link I think you can certainly use the below link that has an example that uses the script tag.

>> http://ccoenraets.github.io/salesforce-developer-workshop/Using-JavaScript-in-Visualforce-Pages.html

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.