날마다 새롭게 또 날마다 새롭게

DOCTYPE 본문

프로그래밍/HTML

DOCTYPE

아무유 2012. 3. 5. 23:02
XHTML(transitional) 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

XHTML(strict) 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 

HTML(transitional)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

HTML(strict)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 //EN" "http://www.w3.org/TR/html4/strict.dtd">

xmlns 속성
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

유효성 검사 Site
http://validator.w3.org/
Comments