文档详情

太原理工大学WEB实验报告.pdf

发布:2018-12-19约1.32万字共18页下载文档
文本预览下载声明
本科实验报告 课程名称: Web 开发实用技术基础 实验项目: HTML 语言 网页程序设计Javascript Request 与Response对象的应用 Application 与Session 对象的应用 实验地点: 实验室211 专业班级: 学号: 学生姓名: 指导教师: 2015年11月5 日 学院名称 学号 实验成绩 学生姓名 专业班级 实验日期 课程名称 Web开发实用技术基础 实验题目 HTML 语言 一.实验目的和要求 1.掌握常用的HTML 语言标记; 2.利用文本编辑器建立HTML 文档,制作简单网页。 3.独立完成实验。 4.书写实验报告书。 二.实验内容 1.在文本编辑器“记事本”中输入如下的HTML 代码程序,以文件名sy1.html 保存, 并在浏览器中运行。 (请仔细阅读下列程序语句,理解每条语句的作用) 源程序清单如下: html head titleExample/title /head bodybgcolor #00DDFF h1BIFONTCOLOR #FF00FF MARQUEEBGCOLOR #FFFF00direction leftbehavior alternatewelcometo you/MARQUEE /FONT/I/B/h1 hr h2 align centerFONT COLOR #0000FFA simpleHTML document/FONT/h2 EMWelcometotheworld ofHTML/EM pThisisasimpleHTML document.It istogiveyou an outlineofhowtowriteHTML file andhow thebmarkup tags/bwork in theIHTML/I file/p pFollowingisthreechapters ul liThisisthechapter one/li liA HREF #itemThisisthechaptertwo/A/li liThisisthechapterthree/li /ul/p hr pANAME itemFollowingisitemsofthechaptertwo/A /p tableborder 2bgcolor graywidth 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 oftheexampledocument /FONT/I/B /p /body /html 2.编写一个能输出如图所示界面的HTML 文件。 三、主要仪器设备 笔记本电脑 四、实验结果 1 实验内容 : 页面中包含的元素有滚动条welcometoyou,标题AsimpleHTMLdocunment,文字 部分Welcome to the world of HTML.This is a simple HTML document.It is to give you an outline ofhowtowriteHTML file andhowthemarkup tagswork in theHTML (格式不同),列表,表 格,段落。 实验内容2: 代码: htmlhead title表单范例/title /headbody h2 align centerbSPAN style TEXT-DECORATION:under
显示全部
相似文档