随笔分类 - HTML
摘要:从图中可以看出整个页面分为头部区域、导航区域、主体部分和底部,其中主体部分又分为左右两列,整个页面居中显示,看明白了这点,下边的框架就好搭建了。整体框架结果图如下: 搭建框架 <div id="header">此处显示 id "header" 的内容</div> <div id="nav">此处显示
阅读全文
posted @ 2018-09-19 14:21
黑旗君
摘要:• css 高度(height) • css 宽度(width) · • css 边框(border) · • css 背景(background) · • css 浮动(float) · • css 字体(font) · • css 加粗 · • css 下划线 · • css 注解 · • cs
阅读全文
posted @ 2018-09-19 14:06
黑旗君
摘要:字体属性:(font) 大小 {font-size: x-large;}(特大) xx-small;(极小) 一般中文用不到,只要用数值就可以,单位: PX、PD 样式 {font-style: oblique;}(偏斜体) italic;(斜体) normal;(正常) 行高 {line-heig
阅读全文
posted @ 2018-09-19 13:53
黑旗君
摘要:创建一个HTML文档 <html></html> 设置文档标题以及其他不在WEB网页上显示的信息 <head></head> 设置文档的可见部分 <body></body> 标题标签 将文档的题目放在标题栏中 <title></title> 文档整体属性 设置背景颜色,使用名字或十六进制值 <bod
阅读全文
posted @ 2018-09-19 13:46
黑旗君
摘要:<form id="form1" name="form1" method="post" action=""> <select name="select" id="select" onchange="window.location=this.value;"> <option value="http:/
阅读全文
posted @ 2018-08-23 22:57
黑旗君
摘要:<style>*{margin:0; padding:0;}form{background:#F1F1F1;}.bbg{background:url(../images/add_ico.jpg) no-repeat; height:65px;}.fileInput{cursor:pointer;op
阅读全文
posted @ 2018-07-31 14:28
黑旗君
摘要:<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <head runat="server"> <meta http-equiv="
阅读全文
posted @ 2018-07-30 20:15
黑旗君
摘要:注://关闭,父窗口弹出对话框,子窗口直接关闭 this.Response.Write("<script language=javascript>window.close();</script>"); //关闭,父窗口和子窗口都不弹出对话框,直接关闭 this.Response.Write("<sc
阅读全文
posted @ 2018-07-29 11:41
黑旗君
摘要:<style type="text/css">.box{width: 200px;height: 30px;background: #0000FF;color: #FFFFFF;margin: 0 auto;line-height: 30px;text-align: center;}body{tex
阅读全文
posted @ 2018-07-26 23:04
黑旗君
摘要:1。忽视右键 <body oncontextmenu="return false"> 或 <body style="overflow-y:hidden"> 2。加入背景音乐 ie:<bgsound src="*.mid" loop=infinite> ns:<embed src="*.mid" au
阅读全文
posted @ 2018-06-08 14:54
黑旗君

浙公网安备 33010602011771号