RQGIS only supports QGIS2 (latest version v2.18), which is no longer actively developed. QGIS2 relies on the deprecated Python2 and we highly discourage to use it.
Please use QGIS3 and have a look at RQGIS3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.