my website needs W3C compliant code. When i check the webflow site (http://architekt-conen.webflow.io/) with firefox web developer, the html validator shows a lot of errors.
Before exporting webflow code i need to add a different doctype in the first line of the html code:
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
In the head tag i need:
meta http-equiv=“Content-Type” content="text/html; charset=iso-8859-1
Hi @Bettina_Lucas, thanks a lot for the post, sorry for the delay. Regarding the changing of the doctype, At the moment, it is not yet possible to do this in Webflow, so this is something that would have to be done after export.
Although it should not happen, somehow there was two elements on the site with the same ID. I would suggest to change one of those IDs referenced in the html by line number. You can view the page source and search for "id=“kontakt” to find the instances and then change it in the designer (or on the exported page) and republish.
Error: Attribute wait not allowed on element input at this point:
My suggestion would be to put that in the Head of the site, instead of the Footer.
As you indicated, there seems to be more validation issues on the exported site, with the ones that are different from the Webflow site, mainly being syntax related issues. I would check the edits that were made to the html after export on those.
i must know which doctype I can insert in the already exported code, so that the W3C check ( http://validator.w3.org ) indicates no more mistakes. Maybe the doctype is the reason for the error messages. The “iso 8859 1” is important to me with the Encoding.