可以使用AMP验证的html上传文件吗?似乎在amp-form html中禁用了输入文件“type=”。
发布于 2017-07-06 14:19:53
不是的。我们不能上传文件,直到现在通过AMP验证。AMP HTML是具有一些限制的HTML,以实现可靠的性能。在未来,AMP将提供一些上传文件的选项。但目前还没有针对AMP验证HTML的文件上传页的解决方案。
放大器输入和字段:
允许的:
<textarea>、<select>、<option>、<fieldset>、<label>、<input type=text>、<input type=submit>等不允许使用:
输入上form-related属性的
<input type=button>,<input type=file>、<input type=image>和<input type=password>form、formaction、formtarget、formmethod和其他。https://stackoverflow.com/questions/44936405
复制相似问题