How to embed microsoft form survey into my R Markdown website

I tried to copy the script and paste in my R Markdown:

title: "survey"
output: html_document
<iframe width="640px" height= "480px" src= "" frameborder= "0" marginwidth= "0" marginheight= "0" style= "border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>

<div id=surveyDiv>
	 window.addEventListener('load', function () {
        }, false);

but it didn't work.

Can anyone help me?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.