软件工程概论-----作业一

软件工程概论作业之网站的构建

●需要网站系统开发需要掌握的技术

从脑海中形成的网站的良好的设计轮廓开始:

掌握对各种所需软件程序的安装与配置;了解更新各种编程语言并会使用其中一两种;掌握网站编写语法;美化与深化网站的各种功能;测试软件;后期维护。

●本次课堂测试的源程序代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<div>

  <html xmlns="http://www.w3.org/1999/xhtml">

  <head>

  <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

  <title>用户登录</title>

  <script language="javascript">

<!--

function check()

{

if(form1.username.value==""){

alert("用户名不能为空,请输入用户名");

//document.form1.username.value.focus();

return false;

}

if(form1.password.value==""){

alert("密码不能为空,请输入密码");

//document.form2.password.focus();

return false;

}

}

-->

</script>

  <style type="text/css">

<!--

.STYLE1 {

       font-family: "新宋体";

       font-weight: bold;

       font-size: xx-large;

       color: #000033;

}

.STYLE14 {

       font-family: "新宋体";

       font-weight: bold;

       font-size: xx-large;

}

.STYLE15 {

       font-size: x-large;

       font-weight: bold;

       font-family: Arial, Helvetica, sans-serif;

       color: #000033;

}

.STYLE16 {

       font-family: Arial, Helvetica, sans-serif;

       font-size: x-large;

}

.STYLE17 {color: #000033}

.STYLE18 {font-family: Arial, Helvetica, sans-serif; font-size: x-large; color: #000033; }

-->

  </style>

  </head>

   

  <body>

  <p align="center">&nbsp;</p>

  <table width="400" border="5" align="center" bordercolor="#000066" bgcolor="#006699">

    <caption>

      <span class="STYLE14">用户登陆      </span>

      <br />

    user login

  </caption>

    <tr>

      <td height="228"><form id="form1" name="form1" method="post" action="">

        <label>

        <div align="center"><span class="STYLE15">用户名</span>

          <input type="text" name="username" />

        </div>

        </label>

         

        <div align="center"><span class="STYLE18">

        </span></div>

        <span class="STYLE18">

        <label>        </label>

        </span><span class="STYLE16">

        <label></label>

        </span>        <label><div align="center" class="STYLE17"><span class="STYLE16"><strong>&nbsp;&nbsp;&nbsp;&nbsp;</strong>

        <input type="password" name="password" />

        </span></form>

          <form id="form2" name="form2" method="post" action="">

            <div align="center">

              <p>&nbsp;              </p>

              <p>

                <input name="Submit" type="submit" class="STYLE18" onclick="check()" value="登录" />

              </p>

            </div>

          </form>

        </div>

        </label>      </td>

    </tr>

  </table>

  <p align="center">&nbsp;</p>

  <p align="center">&nbsp;</p>

  <p align="center">&nbsp;</p>

  <p align="center">&nbsp;</p>

  <p align="center">&nbsp;</p>

  <p align="center">&nbsp;</p>

  <p align="center">&nbsp;</p>

  <p align="center">&nbsp;</p>

  </body>

 

  </html>

</div>

●运行结果截图

 

●说明课堂测试未按时完成的原因

SQL没有安装成功,编程语言编写能力不到位,当然最重要的原因是假期没有好好的练习,自主学习的能力很差,总是想明天会做,明天会做……不够坚持。

●列出你对这门课的希望和自己的目标,并具体列出你计划每周花多少时间在这门课上

希望能在课上积极学习,不仅是课上的知识,还有老师教导的道理。培养自己独立学习的能力和毅力。

目标是能够自己写出漂亮的网站,掌握更多关于计算机的知识,不再盲目。

每周一到周五下午用一个半小时,周末两个小时来学习这门课程,坚持就是胜利。

 

原文地址:https://www.cnblogs.com/love528/p/5228713.html