【问题标题】:HTML: How to output to .txt or xml fileHTML:如何输出到 .txt 或 xml 文件
【发布时间】:2015-10-22 13:23:32
【问题描述】:

我如何尝试创建调查并将答案输出到文本或 xml 文件。 这在 HTML 中可能吗?

<html>

<head>
<title>Testing the Survey Application</title>
</head>

<body bgcolor="#E6E6FA">
<font color=black size=+3>Modifying Sentiment</font>
<hr> 
Add positive adjective:
<img Adjective src="http://findicons.com/files/icons/2776/android_icons/96/ic_question_mark.png" alt="question" title="Adjective: is a word naming an attribute of a noun, such as sweet, red, or technical."
width=20 />
<br>
<textarea cols=40 rows=3 name=textBox1></textarea>
<p>
<hr>
<input type=submit value=Submit>
<input type=reset value=Clear>
<br>
</form>
</body>

</html>

【问题讨论】:

  • 您需要的不仅仅是 HTML
  • 你应该为此使用一些服务器端脚本,例如PHP
  • 什么是最容易使用的脚本,因为我需要像昨天一样完成它。我没有使用php的经验,但使用过java,jS,Python,c++

标签: html xml output


【解决方案1】:

HTML 是一种标记语言。用于描述网页的元素。

如果您需要功能,例如提交和处理表单。您将需要添加服务器端语言,例如 PythonPHPRuby 等等。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-02
    • 1970-01-01
    • 2019-07-06
    相关资源
    最近更新 更多