我在HTML5和CSS3的网站上工作,我想知道是否有任何方法可以将用户的答案导出到Microsoft Excel电子表格中。我已经尝试过使用VBScript,但我更喜欢另一种方式,因为VBScript在大多数现代浏览器中不起作用。我想要一个外部文件,因为我想在多个页面的底部此表单。哈哈,不要介意这个网站是在做什么。
nav { background-color: #65bbe9;
margin-top: 0px;
padding-bottom: 0px;
border: 3px solid #000000;
}
#wrapper { margin-left: auto;
margin-right: auto;
width: 80%;
min-width: 960px;
background-color: #ffffff;
-webkit-box-shadow: 5px 5px 5px #000033;
-moz-box-shadow: 5px 5px 5px #000033;
box-shadow: 5px 5px 5px #000033;
font-family: 'Akzidenz-Grotesk'
}
#content { border: 3px solid #000033;
padding-left: 10px;
padding-right: 10px
}
body { background-color: #aceaff;
}
footer { font-style: italic;
font-family: 'Rabiohead';
font-size: 125%
}
@font-face { font-family: 'Rabiohead';
src: url('rabiohead.ttf');
}
@font-face { font-family: 'Akzidenz-Grotesk';
src: url('Akzidenz-Grotesk.ttf');
}
h2 { font-family: 'Rabiohead';
font-weight: bold;
font-size: 40px;
margin-top: 5px;
margin-bottom: 0px;
margin-left: 10px;
}
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<title>Dear Evan Hansen - The Animated Film</title>
<meta charset="UTF-8">
<link href="hansen.css" rel="stylesheet">
</head>
<body>
<div id="wrapper">
<nav>
<img src="logo.gif" height="100" width="155.56">
<a href="index.html"><img src="homeselection.gif" height="100" width="155.56"></a>
<a href="what.html"><img src="what.gif" height="100" width="155.56"></a>
<a href="cast.html"><img src="cast.gif" height="100" width="155.56"></a>
<a href="release.html"><img src="release.gif" height="100" width="155.56"></a>
<a href="work.html"><img src="work.gif" height="100" width="155.56"></a>
</nav>
<div id="content">
<h2>Dear Evan Hansen: The Animated Film</h2>
<p>
The broadway musical "<i>Dear Evan Hansen</i>" is being brought to your screen! When our cast read the novel
created after the musical was released, they fell in love with this powerful story. This animation is not released yet, and
does not have any connections to <i>Universal Studios</i>, who currently have rights to the creation of a "<i>Dear Evan Hansen</i>"
movie. If you're excited, head to our YouTube channel linked below and consider subscribing, so when an official trailer is released,
you will be one of the first ones to know about it, or fill out the newsletter form to add your name to our email list.
</p>
<br>
<br>
<h2>Join Our Newsletter!</h2>
<form method="get">
<br>
Email: <input type="email" name="email" id="email"> <input type="submit" value="Sign Up">
</form>
<br>
<br>
<footer>
Copyright © Alex Gutowski
<br>
<a href="mailto:[email protected]">[email protected]</a>
<br>
All Rights Reserved
</footer>
</div>
</div>
</body>
</html>
在此先谢谢您!
亚历克斯·古托夫斯基
1条答案
按热度按时间zqdjd7g91#
你需要一个第三方工具。
首先,您可以保存表单的详细信息在您的服务器上。
然后使用vba脚本从服务器检索表单数据。