HTML树形结构,用ID代替 "UL" "li"
2005-02-04 10:46
260 查看
树形示例:
/**/
///
<summary>
///
Form1
///
</summary>
以下是树形示例的HTML代码:
/* ====== HTML代码 ====== */
/* ====== HTML代码开始 ====== */
<SPAN style="COLOR: #000000">
<SPAN style="COLOR: #000000">
<IMG id=Image_Open onclick="this.style.display='none';
Image_Closed.style.display='inline';
Text_Open.style.display='none';
Text_Closed.style.display='inline';"
height=16 src="image/ExpandedSubBlockStart.gif" width=11 align=top>
<IMG id=Image_Closed style="DISPLAY: none" onclick="this.style.display='none';
Text_Closed.style.display='none';
Image_Open.style.display='inline';
Text_Open.style.display='inline';"
height=16 src="image/ContractedSubBlock.gif" width=11 align=top>
</SPAN>
<SPAN id=Text_Closed style="DISPLAY: none;BORDER-RIGHT: #808080 1px solid;
<SPAN id=Text_Closed style="DISPLAY: none;BORDER-RIGHT: #808080 1px solid;
BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid;
BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
/**/
</SPAN>
<SPAN id=Text_Open>
<SPAN id=Text_Open>
<SPAN style="COLOR: #808080">///</SPAN>
<SPAN style="COLOR: #008000"> </SPAN>
<SPAN style="COLOR: #808080"><summary></SPAN>
<SPAN style="COLOR: #008000">
<BR><IMG height=16 width=11 align=top
src="image/InBlock.gif">
</SPAN>
<SPAN style="COLOR: #808080">///</SPAN>
<SPAN style="COLOR: #008000">
Form1 <BR><IMG height=16 width=11 align=top
src="image/ExpandedSubBlockEnd.gif">
</SPAN>
<SPAN style="COLOR: #808080">///</SPAN>
<SPAN style="COLOR: #008000"> </SPAN>
<SPAN style="COLOR: #808080"></summary></SPAN>
</SPAN>
/* ====== HTML代码结束 ====== */
/**/
///
<summary>
///
Form1
///
</summary>
以下是树形示例的HTML代码:
/* ====== HTML代码 ====== */
/* ====== HTML代码开始 ====== */
<SPAN style="COLOR: #000000">
<SPAN style="COLOR: #000000">
<IMG id=Image_Open onclick="this.style.display='none';
Image_Closed.style.display='inline';
Text_Open.style.display='none';
Text_Closed.style.display='inline';"
height=16 src="image/ExpandedSubBlockStart.gif" width=11 align=top>
<IMG id=Image_Closed style="DISPLAY: none" onclick="this.style.display='none';
Text_Closed.style.display='none';
Image_Open.style.display='inline';
Text_Open.style.display='inline';"
height=16 src="image/ContractedSubBlock.gif" width=11 align=top>
</SPAN>
<SPAN id=Text_Closed style="DISPLAY: none;BORDER-RIGHT: #808080 1px solid;
<SPAN id=Text_Closed style="DISPLAY: none;BORDER-RIGHT: #808080 1px solid;
BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid;
BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">
/**/
</SPAN>
<SPAN id=Text_Open>
<SPAN id=Text_Open>
<SPAN style="COLOR: #808080">///</SPAN>
<SPAN style="COLOR: #008000"> </SPAN>
<SPAN style="COLOR: #808080"><summary></SPAN>
<SPAN style="COLOR: #008000">
<BR><IMG height=16 width=11 align=top
src="image/InBlock.gif">
</SPAN>
<SPAN style="COLOR: #808080">///</SPAN>
<SPAN style="COLOR: #008000">
Form1 <BR><IMG height=16 width=11 align=top
src="image/ExpandedSubBlockEnd.gif">
</SPAN>
<SPAN style="COLOR: #808080">///</SPAN>
<SPAN style="COLOR: #008000"> </SPAN>
<SPAN style="COLOR: #808080"></summary></SPAN>
</SPAN>
/* ====== HTML代码结束 ====== */
相关文章推荐
- 对于一个"ul"列表,单击弹出每个"li"对应的索引
- Jsoup选择器解析html时,遇到class里有空格时,用"."代替
- 对"发明一种新的树形结构数据库存储方案"的补充
- js 根据层次码levelno递归生成树形结构的ul
- 解决 Mybatis 元素类型为 "resultMap" 的内容必须匹配 "(constructor?,id*,result*,association*,collection*,discriminat
- CSS文字溢出部分自动用"..."代替
- PHP 引入并读取php数据文件,改html后缀为php完成html的一次编写ul,li遍历出现多次li
- "方案改进:直接通过User Control生成HTML", 我的改进意见
- HTML中ul,ol,li,dl,dt,dd标签用法
- 错误Mybatis 元素类型为 "resultMap" 的内容必须匹配 "(constructor?,id*,result*,association*,collection*,discriminat
- 元素类型为 "resultMap" 的内容必须匹配 "(constructor?,id*,result*,association*,collection*,discriminator?)"
- HTML 去除 li 前面的小黑点及 ul、li 部分属性介绍
- html ul li数目太多不会滚动的超出屏幕看到不到的解决方案
- MySql如何根据输入的id获得树形结构的子节点列表:使用自连+SUBSTRING_INDEX函数
- jquery 的 $("#id").html() 输不出问题
- HTML中ul,ol,li,dl,dt,dd标签用法
- $("#id").html(代码内容) VS document.getElementById("id").innerHTML="代码内容";
- vue项目根目录下index.html中的id="app",与src目录下的App.vue中的id="app"为什么不会冲突
- HTML中显示特殊字符,如尖括号 “<”,">"等等
- 用div,ul,li,span代替table设计表格