上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页
摘要: <body bgcolor="" text="" link="" alink="" vlink="" topmargin="" leftmargin="">可以用CSS控制的就不要用HTML来控制<style> body{ margin:0px; padding:0px; background:red; color:green;` }</style><br> 换行<pre>保留文字在源代码中的格式 阅读全文
posted @ 2012-08-03 16:06 Epirus 阅读(342) 评论(0) 推荐(0) 编辑
摘要: <head> <title> 1.只存在一个 显示在浏览器的标题栏上 2.有利于搜索引擎找到对应的页面 3. </title> <base href="http://www.baidu.com"> 这是文件中的所有基址 如果有引入../src/logo.gif 则最终显示的将会是 "http://www.baidu.com/src/logo.gif" <link rel="stylesheet" type="text/css" href="test.c 阅读全文
posted @ 2012-08-02 14:27 Epirus 阅读(207) 评论(0) 推荐(0) 编辑
摘要: <html> <head> 不会显示在浏览器中,包括基本的描述,整个网页的公共属性 </head> <body> 网页的主题内容 </body></html> 阅读全文
posted @ 2012-08-02 14:26 Epirus 阅读(169) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install apache2 mysql-server mysql-client php5 php5-gd php5-mysqlsudo apt-get install phpmyadmin 阅读全文
posted @ 2012-08-02 10:58 Epirus 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 方法一<?phpheader('Content-type:text/html; charset=gb2312');echo "这样输出就不会乱码";$abc = "这样就会乱码了";echo $abc;?>方法二<?phpecho "这样输出就不会乱码";$abc = "这样就会乱码了";echo html_entity_decode($abc, ENT_QUOTES, 'gb2312');echo $abc;?>加入 <HEAD> 中<?e 阅读全文
posted @ 2012-08-01 21:04 Epirus 阅读(146) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页