
HTML
ColorPaper
游侠
展开
-
实践用CSS制作框架页效果
源自:http://www.cngr.cn/article/55/93/2006/2006072254414_2.shtml在很多人眼里,CSS只能用来设置文字的字体、颜色,好像功能一般。其实CSS如果和JavaScript结合使用可以制作出非常出色的页面效果转载 2011-07-04 07:54:36 · 586 阅读 · 0 评论 -
HTML class Attribute
HTML class AttributeExampleUse of the class attribute in an HTML document:h1.intro {color:blue;}p.important {color:green;}Header 1A paragrap转载 2011-07-15 09:20:23 · 628 阅读 · 0 评论 -
HTML <!DOCTYPE> Declaration
ExampleAn HTML document with a doctype of XHTML 1.0 Transitional:"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">Title of the docu转载 2011-07-16 11:59:53 · 820 阅读 · 0 评论 -
XHTML
XHTML是当前HTML版的继承者。HTML语法要求比较松散,这样对网页编写者来说,比较方便,但对于机器来说,语言的语法越松散,处理起来就越困难,对于传统的计算机来说,还有能力兼容松散语法,但对于许多其他设备,比如手机,难度就比较大。因此产生了由DTD定义规则,语法要求更加严格的转载 2011-07-17 13:38:16 · 544 阅读 · 0 评论 -
HTML和XHTML的区别
HTML 和 XHTML 的区别简单来说,XHTML 可以认为是 XML 版本的 HTML,为符合 XML 要求,XHTML 语法上要求更严谨些。 以下是 XHTML 相对 HTML 的几大区别: XHTML 要求正确嵌套 XHTML 所有元素必须关闭 XHTML 区分大转载 2011-07-17 13:24:11 · 550 阅读 · 0 评论 -
HTML select Tag
HTML TagExampleCreate a select list with four options: Volvo Saab Mercedes AudiTry it yourself »Definition and UsageThe tag is used to转载 2011-07-19 08:39:33 · 1033 阅读 · 0 评论 -
select标签实验
function a(){var b = document.getElementById("k");alert(b);alert(b.value);}function change(){alert("abc");var b = document.getElementById("k转载 2011-07-19 08:50:36 · 575 阅读 · 0 评论 -
http协议中url的最大长度
文章作者:hqlong 来自:hqlong's Blog 导言:相信很我朋友都有这个疑问,或者当有人问起时,可能会临时的去网站搜索一下,答案就多了,我搜到的答案就有好几个,1024个字符啊、4096个字符啊,反正什么样的结果都有,那么究竟url的最大长转载 2011-09-19 11:30:19 · 1074 阅读 · 0 评论 -
Block-Level vs. Inline Elements(块级元素和内联元素对比)
A block-level element is an element that creates large blocks of content like paragraphs or pagedivisions. They start new lines of text when you use them, and can contain other blocks as well as i转载 2011-07-15 14:20:26 · 810 阅读 · 0 评论 -
HTML Element Categories(html元素分类)
It is important to be aware, when using HTML and style sheets that HTML elements are categorized into several categories. Some style properties apply to some categories of elements and not to others.转载 2012-11-26 09:52:08 · 904 阅读 · 0 评论 -
语义化的HTML结构到底有什么好处?
源自:http://www.css88.com/archives/1668相信大家都知道html和css,知道html结构和css表现分离,知道html语义化,这些都是这几年的热门关键字。语义化的html在国内也是一两年前才开始被追捧的,看看现在群里谈论的html结构,关于htm转载 2011-07-15 15:41:50 · 1113 阅读 · 0 评论 -
HTML input Tag
HTML TagExampleA simple HTML form with two input fields and one submit button: First name: Last name:转载 2011-07-10 18:55:00 · 887 阅读 · 0 评论 -
HTML link Tag
HTML TagExampleLink to an external style sheet: Try it yourself »Definition and UsageThe tag defines the relationship bet转载 2011-07-10 18:39:54 · 586 阅读 · 0 评论 -
HTML iframe Tag
HTML TagExampleAn inline frame is marked up as follows: Your browser does not support iframes. Try it yourself »Definition an转载 2011-07-10 18:08:38 · 787 阅读 · 0 评论 -
HTML div Tag
HTML TagExampleA section in a document that will be displayed in green: This is a header This is a paragraph. Try it yourself »Def转载 2011-07-11 13:56:12 · 653 阅读 · 0 评论 -
HTML form Tag
HTML TagExampleA simple HTML form with two input fields and one submit button: First name: Last name:转载 2011-07-10 17:11:50 · 713 阅读 · 0 评论 -
HTML frame Tag
HTML TagExampleA simple three-framed page: Try it yourself »(more examples at the bottom of this page)Definition and UsageThe转载 2011-07-10 19:13:45 · 595 阅读 · 0 评论 -
HTML frameset Tag
HTML TagExampleA simple three-framed page: Try it yourself »(more examples at the bottom of this page)Definition and UsageThe转载 2011-07-10 19:11:53 · 553 阅读 · 0 评论 -
如何让textarea的大小固定
下面代码将textarea的大小固定为400x200。textarea style="max-width:400px;max-height:200px;min-width:400px;min-height:200px;">原创 2011-07-12 12:47:16 · 6439 阅读 · 0 评论 -
html流式布局
默认情况下,浏览器新起一行显示块元素,而在同一行显示行内元素,这种方式被称为“标准流式布局”转载 2012-11-26 11:00:51 · 1858 阅读 · 0 评论