Embed the contact form in an HTML page
In a page you have written yourself, you paste the code directly into the HTML file. You need neither PHP nor any other script on your server.
Step by step
- Open the HTML file of the page in your editor.
- Paste the two lines of your code inside the <body> at the place where the contact form should appear.
- Upload the file to your web space and open the page in your browser.
The names of the menus may differ slightly depending on the version of your system.
What to watch out for
- This also works on static sites without PHP, for example on GitHub Pages, Netlify or simple web space.
- The form takes the width of the surrounding element, at most 480 pixels, and is centred in it.
- One form can be placed on a page: the placeholder with the ID sslcontactholder may only occur once.
- If your page sets a Content Security Policy, allow scripts and images from extern.ssl-contact.de and ssl-contact.de in it, as well as styles set directly on the element (style attributes).
How to see that it works
- Open the published page, not the preview in the editor. Some systems only run custom code on the published page.
- The contact form appears with your fields and colours. If the place stays empty, the system has changed or filtered the code: check whether both lines arrived completely.
- Send a test enquiry. It comes from noreply@ssl-contact.de. Check your spam folder as well and add the address to your safe senders.
No contact form yet?
Put together fields and colours, confirm your email address, and you have your code in two minutes.
Create your form nowOther systems: WordPress Wix Jimdo Google Sites Joomla TYPO3