- 1、本文档共19页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
太原理工大学web实验报告
本科实验报告
课程名称: Web开发实用技术基础
实验项目: HTML语言
网页程序设计Javascript
Request与Response对象的应用
Application与Session对象的应用
实验地点: 实验室211
专业班级: 学号:
学生姓名:
指导教师:
2015年11月5日
学院名称 学号 实验成绩 学生姓名 专业班级 实验日期 课程名称 Web开发实用技术基础 实验题目 HTML语言 实验目的和要求
掌握常用的HTML语言标记;
利用文本编辑器建立HTML文档,制作简单网页。
独立完成实验。
4.书写实验报告书。
二.实验内容
1.在文本编辑器“记事本”中输入如下的HTML代码程序,以文件名sy1.html保存,并在浏览器中运行。(请仔细阅读下列程序语句,理解每条语句的作用)
源程序清单如下:
html
head
titleExample/title
/head
body bgcolor=#00DDFF
h1BIFONT COLOR=#FF00FF
MARQUEE BGCOLOR= #FFFF00 direction=left behavior=alternatewelcome to you/MARQUEE
/FONT/I/B/h1
hr
h2 align=centerFONT COLOR=#0000FFA simple HTML document/FONT/h2
EMWelcome to the world of HTML/EM
pThis is a simple HTML document.It is to give you an outline of how to write HTML file and how theb markup tags/b work in the IHTML/I file/p
pFollowing is three chapters
ul
liThis is the chapter one/li
liA HREF=#itemThis is the chapter two/A/li
liThis is the chapter three/li
/ul/p
hr
pA NAME=itemFollowing is items of the chapter two/A /p
table border=2 bgcolor=gray width=40%
tr
thitem/th
thcontent/th
/tr
tr
tditem 1/td
tdfont/td
/tr
tr
tditem 2/td
tdtable/td
/tr
tr
tditem 3/td
tdform/td
/tr
/table
hrp
1p2p3p4p5p6p7p
BIFONT COLOR=BLUE SIZE=4End of the example document /FONT/I/B
/p
/body
/html
2.编写一个能输出如图所示界面的HTML文件。
主要仪器设备
笔记本电脑
实验结果
实验内容1:
页面中包含的元素有滚动条welcome to you,标题A simple HTML docunment,文字部分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(格式不同),列表,表格,段落。
实验内容2:
代码:
htmlhead
title表单范例/title
/headbody
h2 align=centerbSPAN style=TEXT-DECORATION: underline请留下个人资料/SPAN/b/h2
table align=center
form name=form
trtd align=right姓名:/td
tdinput type=text name=姓名/td/tr
trtd align=rightE-mail:/tdtdinput type=text name=邮箱/td/tr
trtd align=right电话:/tdtdinput type=text name=电话/td/t
文档评论(0)