学习HTML时, 记下的一些很基础的东西
传智博客_html
1. HTML语法基础
< > 空格 " 商标 版权
< > " ® ©
<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
相关文档:
先用现成的组件玩一下,一会再去看看组件源码研究一下。
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:select property='optdwdm' style='width:230' onchange='changedw(this)'>
<html:options collection='dwlist' property='dm' labelProperty='mc' />
</html:select>
在标签的 ONCHANGE 事件里面定义一个 changedw(this)
然后可以通过以下代码获取 html:select 选取的 VALUE ......
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/
翻译 ......
1.防止图片被下载和盗用的方法:
(1)<div>嵌套<img>设置<div>的背景图片为实际图片,<img>包含的图片是一张透明图片,两张图片的尺寸相同。即相当于在真实图片上添加了一层保护膜,这张保护膜就是透明图片。这样当用户选择“图片另存为”时,将保存的是透明图片,而不是实际图 ......