随笔分类 - HTML
摘要:交集选择器是由两个选择器直接连接构成的,其中第一个必须是标签选择器,第二个必须是类选择器或者ID选择器,这两个选择器之间不能有空格,必须连续书写 <html> <head> <title>交集选择器</title> <style type="text/css"> p.txt{ color:blue;
阅读全文
摘要:ID选择器{ 属性:属性值 } <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=gb2312"/> <title>ID选择器的应用</title> <style type="text/css"> #fi
阅读全文
摘要:把外层的标签写在前面,内层的标签写在后面,之间用空格分隔 <html> <head> <title>后代选择器</title> <style type="text/css"> h3 strong{ color:blue; font-size:36px; } </style> </head> <bod
阅读全文
摘要:类选择器{ 属性:属性值 } <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=gb2312"/> <title>类选择器的用法</title> <style type="text/css"> .gree
阅读全文
摘要:标签选择器{ 属性:属性值 } <html> <head> <meta http-equiv="Contene-Type" content="text/html;charset=gb2312"/> <title>标题选择器</title> <style> h3{ color:#090; } </st
阅读全文
摘要:<frameset cols="25%,50%,*" rows="50%,*" border="5"> <frame src="the_first.html"> </frameset> 解释如下: 其中,<frameset>标签的cols属性表示将页面横向分割为几列。例如,cols="25%,50%
阅读全文

浙公网安备 33010602011771号