function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AbAb 

Integrating javascript/HTML in visualforce page

Hello,

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

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

</body>
</html>

 
Best Answer chosen by Ab
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.  

Thanks.