Skip to content

Instantly share code, notes, and snippets.

View huythang38's full-sized avatar

Lê Huy Thắng huythang38

View GitHub Profile
@huythang38
huythang38 / index.html
Created May 26, 2012 16:05
xhtml strict basic
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<script>
@huythang38
huythang38 / index.html
Created May 26, 2012 16:04
xhtml strict auto refresh
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="js/live.js" type="text/javascript"></script>
@huythang38
huythang38 / live.js
Created May 26, 2012 15:56
refresh web
function Refresh()
{
var t=setTimeout("location.reload(true)",1000); //1000 tương ứng 1s
}
// <body onload="Refresh()">
text{
font-family : ; /*font*/
color : #FA0000; /*màu*/
font-size : 12px; /*cỡ chữ*/
font-weight : bold; /*đậm*/
font-style : italic; /*nghiêng*/
text-decoration: ; /*thuôc tính gạch ngang*/
text-transform : uppercase; /*in hoa hoàn toàn*/
text-align : ; /*căn lề*/
letter-spacing : 0.2pt; /*khoảng cách giữa các ký tự trong từ*/
/*
960 Grid System ~ Core CSS.
Learn more ~ http://960.gs/
Licensed under GPL and MIT.
*/
/*
Forces backgrounds to span full width,
even if there is horizontal scrolling.
@huythang38
huythang38 / ktdb
Created May 26, 2012 13:51
ký tự đặc biệt
&quot; "
&amp; &
&lt; <
&gt; >
&nbsp; cách
&euro; €
&acute; '
&laquo; «
&raquo; »
&copy; ©
/*
960 Grid System ~ Core CSS.
Learn more ~ http://960.gs/
Licensed under GPL and MIT.
*/
/*
Forces backgrounds to span full width,
even if there is horizontal scrolling.
@huythang38
huythang38 / reset.css
Created May 26, 2012 13:41
reset grid 960 1
/* `XHTML, HTML4, HTML5 Reset
----------------------------------------------------------------------------------------------------*/
a,
abbr,
acronym,
address,
applet,
article,
aside,
@huythang38
huythang38 / reset_rtl.css
Created May 26, 2012 13:40
reset grid 960
/* `XHTML, HTML4, HTML5 Reset
----------------------------------------------------------------------------------------------------*/
a,
abbr,
acronym,
address,
applet,
article,
aside,
@huythang38
huythang38 / 960.css
Created May 26, 2012 13:39
grid 960
/*
960 Grid System ~ Core CSS.
Learn more ~ http://960.gs/
Licensed under GPL and MIT.
*/
/*
Forces backgrounds to span full width,
even if there is horizontal scrolling.