1.<table class="inputstyle"> <td class="inner"> 有什么作用?
2.<input name="delete" type="button" value="删 除" class="button" id="delete" >其中name和id一样,class和type一样,为什么都要写,有什么区别吗?
3.<table width="98%" cellpadding="0" class="table1" ;>其中class="table1"有什么作用?
4. <meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
这几句话有什么意义?
5.<div id="SystemTag">
${InfoErr}
</div>
这是什么意思?
2.<input name="delete" type="button" value="删 除" class="button" id="delete" >其中name和id一样,class和type一样,为什么都要写,有什么区别吗?
3.<table width="98%" cellpadding="0" class="table1" ;>其中class="table1"有什么作用?
4. <meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
这几句话有什么意义?
5.<div id="SystemTag">
${InfoErr}
</div>
这是什么意思?
2、name和id一样,是因为传输数据的时候有的浏览器默认id,有的是name。
3、所有的class都是调用css中的模板样式
5、${InfoErr}显示后台传输的name为InfoErr的内容
第四个吃饭回来再给你解释,饿死我了
calss用来引用样式表中的样式。 你用div布局时候几乎都是这样的2.<input name="delete" type="button" value="删 除" class="button" id="delete" >其中name和id一样,class和type一样,为什么都要写,有什么区别吗?
写上id有个好处是方便js进行dom操作,另外不同的浏览器有时候处理不一样,所以都写上了。class还是应用样式表中定义的样式3.<table width="98%" cellpadding="0" class="table1" ;>其中class="table1"有什么作用?class 引用样式
4. <meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0"> 这三个 主要是防止浏览器进行缓存页面
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page"> keywords是网页关键词标签。主要用来SEO,搜索引擎提供的关键字列表.不过现在搜索引擎几乎都不怎么用这个了.. description用来告诉搜索引擎你的网站主要内容.
5.<div id="SystemTag">
${InfoErr}
</div>
这是什么意思? 在一个div块中通过el表达式显示在page,request或session或application中保存的InfoErr的值。(逐级查找)
至于第4个问题,我想现在的你有点难以理解 你只需要记住这样写就对了,至于解释楼上几位都解释的差不多。等JSP 用熟了自然就懂了。
最后一个问题<div> 是层 至于层里面的东西 那是从后台接收过来的值,${xxx} 这是EL语法 至于EL是什么,等LZ用到的时候可以找我。