Javascript 网页开发—体验式学习教程(1) html 和 CSS

前天本来想去买一本ASP.net方面的书,可是看到asp.net使用主要的语言是vb or javascript , 同时也感觉到学习javascript 的重要性,也就买了这本书,是张孝祥编的,内容应该不错.

 

 

主要分四部分:1.html 2.CSS 3.javascript 4.正则表达式,DOM编程其它脚本技术

 

 

Html 部分比较基础,也比较全.我基本都掌握了(当然细节和具体属性还需要不断地翻书查找),不熟悉的地方:Frameset/div/span

Frameset:

主文档网页:mainPage.htm

<html>

<head>

<title>MainPage</title>

</head>

<frameset cols="25%, *">

<frame src="menu.htm" scrolling="no" name="left">

<frame src ="page1.htm" scrolling="auto" name="main">

<noframes>

<body>

<p> sorry , your bowser doesn’t support frame!</p>

</noframes>

</frameset>

</html>

 

 

Menu.htm

<html>

<head>

<title>doc</title>

</head>

<body>

<p><font color="#0000ff">doc</font></p>

<p><a href="page1.htm" target="main">to first page</a></p>

<p><a href="page2.htm" target="main">to second page</a></p>

</body>

</html>



page1.htm/page2.htm

<html>

<head>The first page</head>

<body>

<p align="center"><font color="#8000ff"> This is the rist page</font></p>

</body>

</html>

 

 

CSS

不要看到英文字母就怕,没有什么难的.

CSS:cascading style sheets 层叠样式表

CSS的几种设置方式:

内联

嵌入

外部

输入

样式规则的选择器:

HTML selector

Class selector

ID selector

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值