When we click on the Insert HTML button, a window opens, showing the HTML source of the current message. You will get a link fro embed here − You can try to run the following code to learn how to embed a video using HTML code. This is incredibly useful for embedding third-party scripts, etc. This program adds an Insert HTML to the ribbon in the message editor section; this option appears when we create a new email or answer an existing email. Template literals may solve your issue as it will allow writing multi-line strings and string interpolation features. There are good reasons why mixing php/asp/js code directly with HTML is bad. Every Way Possible To Embed Modern Media With HTML Code. To get the embed link, go to a YouTube Video and click embed as shown below. The first is to embed the PHP code in your HTML file itself with the .html extension—this requires a special consideration, which we’ll discuss in a moment. Tip: Use CSS to style the