web程序设计实验报告集合 下载本文

内容发布更新时间 : 2024/4/20 2:16:23星期一 下面是文章的全部内容请认真阅读。

一、 实验目的

1. 掌握常用的HTML语言标记;

2. 利用文本编辑器建立HTML文档,制作简单网页。

二、 实验要求

1. 独立完成实验。 2. 书写实验报告书。

三、 实验内容

1. 在文本编辑器“记事本”中输入如下的HTML代码程序,以文件名sy1.html保存,

并在浏览器中运行。 源程序清单如下:

Example

welcome to you!


Welcome to the world of HTML!

This is a simple HTML document. It is to give you an outline of how to write HTML file and how the markup tags work in the HTML file

Following in three chapters.


item coment
item1 font
item2 table
item3 form

1

2

3

4

5

6

7

End of the example document

运行结果:

2.编写一个能输入如图所示界面的HTML文件。

程序代码:

表单范例

请留下个人资料

  姓名:E-mail:  电话:

  性别:  

  年龄:

留言版: