静态网页(html)

动态网页(php/jsp/asp/asp.net/cgi):与用户交互

html是超文本标记语言

http协议

基本结构

<html>

<head></head>

<body></body>

</html>

hello.html
<html>
<head>
	<title>hello</title>
</head>
hello,world;
<body>
</body>
</html>

html运行方式:

1.远程访问

      安装服务器软件(apache服务器)

      http协议:客户机------>http请求------>主机------>http响应------>客户机

      抓包工具(火狐浏览器:firebug)看到http请求

2.本地运行

      直接用浏览器打开