易截截图软件、单文件、免安装、纯绿色、仅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页面嵌入FLEX应用中

先用现成的组件玩一下,一会再去看看组件源码研究一下。
http://code.google.com/p/flex-iframe/
下载了flexiframe.swc,引入工程。
flex代码
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute"
   ......

html解析 网页颜色编码表

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

php正则取嵌套html标签

<?php
$s = <<<html
<html>
<head>
<title>nested tag test</title>
<mce:script type="text/javascript"><!--
alert('fdsafdasfasd');
// --></mce:script>
</head>
<body>
<div id=0>
<div id=1><img name="im ......

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>");
}
} ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号