易截截图软件、单文件、免安装、纯绿色、仅160KB

学习HTML时, 记下的一些很基础的东西

传智博客_html
1. HTML语法基础
<     >    空格    "      商标   版权   
&lt; &gt; &nbsp; &quot;  &reg;  &copy;
<p></p>段落标记
<br>换行标记
<nobr></nobr>不换行
<blockquote></blockquote>右缩进
<center></center>居中显示
<marquee></marquee>移动显示  behavior=scroll  direction=up
<dl>列表
<dt>列表中上层
<dd>列表中下层
<ol>带有数字序号的列表
<ul>标有圆点的列表
<li>用于创建具体的列表象
<pre>对文本域格式化处理
<h1>...<h6>字号.字体标签
<b><i><u>粗体,斜体,下滑线.
<sub><sup>下标 上标
<tt>打印字 <cite>引用  <em>显示需要强调  <strong>加重.
<font>字体 face,size,color3个属性.
<a href="http://www.wwh.com#mark" target="_blank">个人主页</a>
<a href="http://www.wwh.com"><img border=0(边框) src="123.jpg"></a>
<a href="mailto:wangwenhui006@sina.com?subject=咨询">我要留言</a>
<a name="mark"></a>
link是连接的颜色,alink是连接按下时的颜色;vlink是连接按下后的颜色;
../回到上一层目录;
<hr>分隔线:
<hr color = >;<hr width = >;<hr size = >;<hr align = >;<hr noshade = >
<img src = "123.jpg">
alt,align,width,height,border(边框粗细),hspace,vspace属性;
                          
       v512_HTML
1. HTML语言是大小写不敏感的;
2. <body></body>标签的主要属性: bgcolor背景颜色,background背景图片,bgproperties,text设置文字的颜色,
   bgproperties水印效果,(fixed)
3. <br>单标记: 换行,
   <p></p>标记: 段落标记(有一个空行), 属性align
&nbs


相关文档:

html解析 网页颜色编码表

网页预定义颜色编码列表
const unsigned int gl_color_value[] = {
 0xF5F5DC,
 0x000000,
 0xFF0000,
 0xD2B48C,
 0xFFD700,
 0x008080,
 0xF0E68C,
 0x00FF00,
 0x00FFFF,
 0x0000FF,
 0x00FFFF,
 0xFF7F50,
 0x008000,
 0xFDF5E6 ......

php 正则表达式 html中的回车

//回车:[\n\r\t]
$reg="|typeid=\"(.*)\" onsel.*[\n\r\t]*<a href="\" mce_href="\""#\">(.*)</a>|";
preg_match_all ($reg,
$html,
$out, PREG_PATTERN_ORDER);
foreach ($out as $value){
foreach ($value as $value2){
if(strlen($value2)<20)
echo ($value2."<br>");
}
} ......

有title属性的HTML元素


label 的title属性相当于tooltip,鼠标放上去会显示title属性的值
title,label,entitle,name的区别
title 题目,标题
label (商品/产品)标签
entitle 动词,给...称号,给...权利
name 姓名,名称
alt属性和title属性
原文:http://www.456bereastreet.com/archive/200412/the_alt_and_title_attributes/
翻译 ......

word、ppt、excle 转换html,采用jacob

下载 jacob-1.15-M3
地址http://sourceforge.net/projects/jacob-project/
开发工具 MyEclipse8.0 绿色版、Tomcat 6.0 绿色版,JDK 1.6,XP系统,J2EE项目
在MyEclipse中配置Tomcat,使用自己安装的JDK
接着配置MyEclipse 的JRE
Window---Preferences--Java---Installed JREs--选择之前配置Tomcat时加入的jdk
把jacob ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号