2016年1月28日
javascript
[object Object]
表示这个对象是一个对象集合。
var a = new Object();
a.abc = new Object();
a.abc.a123 = new Object();
这就是[object Object]
补充:简单的写法:
var a = {
abc : {
a123 : {}
}
};
表示对象的类型是object,这个对象的constructor是Object
toString 方法返回 [object objectname],其中 objectname 是对象类型的名称。
@font-face
<!-- 定义字体 -->
@font-face {
font-family: 'YourWebFontName';
src: url('YourWebFontName.eot'); /* IE9 Compat Modes */
src: url('YourWebFontName.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('YourWebFontName.woff') format('woff'), /* Modern Browsers */
url('YourWebFontName.ttf') format('truetype'), /* Safari, Android, iOS */
url('YourWebFontName.svg#YourWebFontName') format('svg'); /* Legacy iOS */
}
<!-- 对内容使用定义的字体。 -->
h2.neuesDemo {
font-family: 'NeuesBauenDemo'
}
HTTP
HTTP(Hyper Text Transfer Protocol,超文本传输协议)是一种通信协议 ,它允许将超文本标记语言(HTML)文档从Web服务器传送到客户端的浏览器。
URI(Uniform Resource Identifier),翻译为统一资源标识符,是一个用于标识某 一互联网资源名称的字符串。
URL(Uniform Resource Location),翻译为统一资源定位符,它描述一台特定服 务器上某特定资源的特定位置。
格式:
http://user:[email protected]:80/home/index.html?age=11#mask
http:协议方案名 user:pass:登录信息(认证) www.example.com:服务器地址 80:端口号 /hone/index.html:文件路径 age=11:查询字符串 mask:片段标识符
Last updated
Was this helpful?