摘要: 1.html文件第一行要放Document Type, 以防浏览器使用Quirks模式来解析页面[代码]2. <html>一定要有<head>和<body>。<head>里面一定要有<meta>(指的是指定此html编码的meta,如<meta http-equiv=”Content-Type” content=”text/html; charset=utf”>,且一定要作为<head>的第一个子元素,保证浏览器成功解析title的内容)和<title>。3.<p>里不能放block element,<blockquote>里一定要放block element。4.<body>里只能放bloc
阅读全文
posted @ 2010-11-12 11:53 Stephen.Huang 阅读(46) 评论(3)
编辑