How it works ?
Lets understand the way it works. The Sitecore recommended way of adding forms to a web page is to create a new layout and add the forms html helpers and refer that in existing layout.
Ref: https://doc.sitecore.com/developers/91/sitecore-experience-manager/en/add-a-form-to-a-webpage.html
RenderForm