Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/71.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
HTML联系人表单格式电子邮件奇怪_Html - Fatal编程技术网

HTML联系人表单格式电子邮件奇怪

HTML联系人表单格式电子邮件奇怪,html,Html,我正在制作一个联系人表单,用户可以在单击“提交”时键入该表单,然后打开Outlook并输入他们的内容。问题是输出非常混乱。它输出如下: name=John+Smith&email=I+am+contacting+you&comment=example+text+here 我希望输出更像: name=John Smith email=I am contacting you comment=example text here 这个HTML5代码是否可能: <form

我正在制作一个联系人表单,用户可以在单击“提交”时键入该表单,然后打开Outlook并输入他们的内容。问题是输出非常混乱。它输出如下:

name=John+Smith&email=I+am+contacting+you&comment=example+text+here 
我希望输出更像:

name=John Smith  email=I am contacting you comment=example text here
这个HTML5代码是否可能:

 <form method="post" name="contact" action="mailto:myemail@gmail.com">          
                <p>         
                <label>Name</label>
                <input name="name" value="Your Name" input type="text" size="50" />
                <label>Email</label>
                <input name="email" value="Your Email" input type="text" size="50" />
                <label>Your Comments</label>
                <textarea rows="5" cols="5" name="comment"></textarea>
                <br />  
                <input class="button" input type="submit" />        
                </p>        
            </form> 


名称
电子邮件
你的评论


由于您没有另外指定,因此您的表单使用默认的enctype
应用程序/x-www-form-urlencoded
进行“发送”


将属性
enctype=“text/plain”
添加到表单元素。

谢谢,这正是我想要做的。