您的浏览器不支持JavaScript或者JavaScript的运行被您禁止了。
怪异模式与标准模式
这里应该敲下黑板。如果你的服务器在HTTP响应头的Content-Type里使用application/xhtml+xml 这个MIME类型来将你的网页声明为XHTML的话,你不再需要通过声明一个DOCTYPE来激活标准模式,因为这类文件总是会被浏览器按完全标准模式进行解析。但是需要注意的是,使用application/xhtml+xml 这个MIME类型的话,IE8浏览器会出现下载对话框而不是显示对应的网页,因为IE8不认识这个文档格式——第一个支持XHTML格式的IE浏览器是IE9。
暂无评论
Insert Flash movie
Code for the previous example is as below:Please note that we have set the value of wmode to be transparent to make the four sides of the flash movie...
暂无评论
HTML entities
Source: http://www.freeformatter.com/html-entities.htmlComplete list of HTML entities with their numbers and names. Also included is a full list of ASCII...
暂无评论
HTML reference
<div class="excerpt"> <p>如梦令·昨夜雨疏风骤(李清照)</p> <p>昨夜雨疏风骤,浓睡不消残酒。</p> <p>试问卷帘人,却道海棠依旧。</p> <p>知否,知否?应是绿肥红瘦。</p> </div>
暂无评论
HTML Tags备注
&lt;!&minus;&minus;&gt;HTML's comment tag, beginning with &lt;!&minus;&minus; and ending with &minus;&minus;>. &lt;!DOCTYPE&gt; &lt;a&gt; &lt;abbr&gt; &lt;acronym&gt;首字母缩写。HTML5 do not support this tag, please use &lt;abbr>...
暂无评论
HTML元素title属性值定义的提示文字实现换行
用&#10;来换行就可以了!比如下面这行代码:将鼠标放于此处查看title属性中定义的提示文字上面那行代码的实际效果如下:将鼠标放于此处查看title属性中定义的提示文字。
暂无评论
HTML块级元素和行内元素
每一个HTML元素的display属性都有一个默认的值。具体的默认值是什么,取决于元素的类型。大部分HTML元素display属性的默认值是block或inline。块级元素块级元素总是另起一个新行,并占满可用宽度(尽可能地向左右两个方向延伸)。&lt;div&gt;元素是一个块级元素。一些块级元素(block-level...
暂无评论
Forms in HTML
Forms are very common to see in web pages, especially when you are going to register or log in some websites.
暂无评论
Table Tag in HTML
This post simply introduces the table tag in Html.
暂无评论
Video Tag in HTML5
If there is a video whose width and height are respectively 800px and 600px, then you can resize it by setting propertities <em>width</em> and <em>height</em>. However, you should be noted that the size of the video is adjusted in proportion to its original size, and if you try to set a size which is not in proportion to its original size, the vidio will adjust its size in proportion to its original size as per the relatively short length (width/height).
暂无评论
1