메뉴 건너뛰기

리눅스 관련 모음

본문시작

설치관련
2014.07.21 10:14

html코딩 dtd선언 - <!DOCTYPE HTML PUBLIC

조회 수 5003 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

국산 통나무 수공예 남원제기, 남원목기

자료가 도움이 되셨다면
혼수용품제수용품 필요시
남원제기 공식 홈페이지 http://남원제기.kr
남원목기 공식 홈페이지 http://otchil.kr
에서 구매 해 주세요
정성껏 모시겠습니다.
 

1. DTD 선언

html 첫 행에 들어가며 html 문서가 어떤 기준으로 작성 되었는지를 알리는 것.

html 4.01과 xhtml은 strict,transitional,frameset로 나뉜다.

 

html 4.0 (Transitional 권장)

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

Transitional(호환형)

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

(이 문서는 html로 작성되어있으며 w3c회사의 html 4.01버전으로 되어있습니다. w3.org 에서 볼수있습니다.)

frameset(프레임형)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/frameset.dtd">

 

html 5

<!doctype html> 

<meta charset=utf-8>

xhtml 1.0 (Transitional 권장)

strict(엄격형)

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

Transitional(호환형)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/Xhtml1/DTD/xhtml1-Transitional.dtd">

frameset(프레임형)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/Xhtml1/DTD/xhtml1-frameset.dtd">

 


XHTML 1.1 표준 문서 형식
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">



2.mate 태그

 

html4.01

<meta http-equiv="Content-Type" content="text/html; charset=utf-8> 

유니코드8은 외국에서도 한글이 안 깨짐(euc-kr)도 사용가능. 파일 저장할때 인코딩 utf-8로 저장 (인코딩은 문자 표기 방식)

 

html5에선 간결하게 바뀌었다.

<meta charset=utf-8>

   

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
150 에러해결 win8.1 F8 안전모드 부팅하기 햇빛소년 2015.02.22 1051
149 설치관련 What do these PHP mbstring settings do? 햇빛소년 2013.08.25 11387
148 에러해결 utf8_mime2text() has new signature, 햇빛소년 2014.03.01 3360
147 에러해결 unable to include potential exec "include/top.html" in parsed file 에러 해결!!! 햇빛소년 2013.01.11 30600
146 에러해결 TIFF 설피시 /usr/local/include/jmorecfg.h:263:16: error: expected identifier before numeric constant 에러 햇빛소년 2013.06.04 17733
145 설치관련 The ClamAV Plugin --> clamav.cf , clamav.pm 햇빛소년 2013.07.07 15138
144 SURBL을 이용해 스팸 정확도 극대화하기 file 햇빛소년 2011.04.14 51154
143 su 명령의 문제점 햇빛소년 2011.10.04 54831
142 Starting spamd: Apr 29 16:41:34.934 [14162] warn: server socket setup failed, retry 1: spamd: could not chown 에러해결 햇빛소년 2012.04.29 32280
141 에러해결 Starting Dovecot Imap: Error: service(pop3-login): listen(*, 110) failed: Address already in use 햇빛소년 2013.06.29 25537
140 ssh로 특정 ip접근 hosts.deny 자동 추가 햇빛소년 2011.05.12 45463
139 설치관련 ssh 포트변경 및 iptables 수정 햇빛소년 2013.06.25 15520
138 에러해결 squirrelmail에서 메일 삭제시 Error: file_dotlock_create... 에러에 대하여. 햇빛소년 2013.06.30 20937
137 에러해결 sql_mode = NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION 햇빛소년 2014.03.22 5134
136 specifies multiple packages 대처법 햇빛소년 2012.02.22 28118
135 에러해결 spamassassin 에러 Can't locate Mail/SpamAssassin/CompiledRegexps/body 0.pm in @INC 햇빛소년 2013.06.24 16326
134 spamassassin /320.pre -> Rule2XSBBody 체크시 에러 해결법 햇빛소년 2011.04.13 48299
133 Spam Assassin + ClamAV 바이러스 필터 연동하기 file 햇빛소년 2011.03.29 74367
132 Solving the "Can't connect to UNIX socket" and "/parts: Access denied" problems. 햇빛소년 2011.04.08 50132
131 에러해결 sendmail[8569]: auxpropfunc error invalid parameter supplied 햇빛소년 2013.07.11 16027
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10