Posted on 2012/07/21 09:48
Filed Under Programming/PHP

기본 형식

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

문자셋을 지정하기

모든 페이지가 한글로 지정이 되어있기는 하지만 다같은 한국어 사이트가 아니라는 것은 개발자들만이 아는 비밀 입니다.

컴퓨터가 맨처음에 만들어 진곳이 영어를 쓰는 나라에서 만들어져서 기본적으로 영어를 탑재를 하게 됩니다. 그러해서 만일 html을 만들때 언어셋을 지정을 안하고 한국어를 쓰시게 되시면 깨짐 현상이 일어나서 보기가 안좋아지게 됩니다.

이러한것을 방지하기 위해서 html을 만든 사람들은 나라에 언어코드를 넣어주어서 지원을 해주자고 생각을 해내게 됩니다.

우리나라에서는 크게 EUC-KR과 UTF-8로 지원이 됩니다.

이 두개의 차이점은 언어를 담는 그릇의 크기의 차이라고 보시면 됩니다.

UTF-8의 경우에는 거의 모든 문자들까지 담아두고 있고 ECU-KR은 현제 저희들이 쓰고있는 언어들만을 담고 있다고 보시면 됩니다.

그리 되게되면 사용자는 이 두개중에서 어는것을 선택해야 되냐를 질문을 하게 됩니다.

이에 대한 답은 2개를 설치를 해도 되지만 저의 생각으로는 현재 UTF-8의 서버 설정이 많아지고 있고 하여서 UFT-8로 설정을 하시면 될듯합니다.

만일 서버가 EUC-KR이게 되시면 EUC-KR로 하는것이 맞는 선택이 되겟습니다.

키워드와 요약 정보 제공하기

저희가 쓰는 네이버나 구글 그리고 다음 과 같은 포털 싸이트에서의 검색 엔진에서 웹문서를 자동 등록 할때 사용할 키워드와 문서 요약 정보도 <meta>태그가 사용됩니다.

키워드는 웹 사용자들이쓸만한 언어를 담아주시면 되고

요약정보는 그글의 핵심적인 정보를 담아주시면 됩니다.

크리에이티브 커먼즈 라이센스
Creative Commons License
2012/07/21 09:48 2012/07/21 09:48

트랙백 주소 : http://blog.lovecoco.net/trackback/161

  1. Subject : aspirateur traineau avec sac miele parkett

    Tracked from aspirateur traineau avec sac miele parkett / 2013/02/25 19:18  삭제

    CoCo의 컴퓨터와 IT 이야기 :: 한글 코드 지정 HTML Meta 태그

  2. Subject : people search ct

    Tracked from people search ct / 2013/03/09 13:33  삭제

    CoCo의 컴퓨터와 IT 이야기 :: 한글 코드 지정 HTML Meta 태그

  3. Subject : reverse phone number search free

    Tracked from reverse phone number search free / 2013/03/20 21:48  삭제

    CoCo의 컴퓨터와 IT 이야기 :: 한글 코드 지정 HTML Meta 태그

  4. Subject : cheap air max 95

    Tracked from cheap air max 95 / 2013/04/18 23:37  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  5. Subject : does slendertone work

    Tracked from does slendertone work / 2013/04/28 18:15  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  6. Subject : ralph lauren outlet online

    Tracked from ralph lauren outlet online / 2013/04/29 00:43  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  7. Subject : ralph lauren outlet online

    Tracked from ralph lauren outlet online / 2013/04/29 11:36  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  8. Subject : Read This

    Tracked from Read This / 2013/05/02 12:49  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  9. Subject : cheap authentic nfl jerseys

    Tracked from cheap authentic nfl jerseys / 2013/05/02 13:45  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  10. Subject : mouse click the next webpage

    Tracked from mouse click the next webpage / 2013/05/02 19:15  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  11. Subject : Http://Vipshar.By/Index.Php/Otzyvy

    Tracked from Http://Vipshar.By/Index.Php/Otzyvy / 2013/05/02 20:07  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  12. Subject : http://www.yqcb.net/Plus/guestbook.php

    Tracked from http://www.yqcb.net/Plus/guestbook.php / 2013/05/02 20:44  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  13. Subject : Elle-Macpherson.Com

    Tracked from Elle-Macpherson.Com / 2013/05/02 21:08  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  14. Subject : nfl jerseys

    Tracked from nfl jerseys / 2013/05/02 21:39  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  15. Subject : www.outtolunchracing.com

    Tracked from www.outtolunchracing.com / 2013/05/03 04:07  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  16. Subject : nfl jerseys usa

    Tracked from nfl jerseys usa / 2013/05/03 04:35  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  17. Subject : nfl jerseys from china

    Tracked from nfl jerseys from china / 2013/05/03 10:33  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  18. Subject : nfl jerseys from china

    Tracked from nfl jerseys from china / 2013/05/03 13:47  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  19. Subject : szegedem.hu

    Tracked from szegedem.hu / 2013/05/04 19:51  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  20. Subject : Www.307Feet.com

    Tracked from Www.307Feet.com / 2013/05/04 22:40  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  21. Subject : nike free run 2 mens

    Tracked from nike free run 2 mens / 2013/05/05 06:58  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  22. Subject : custom nfl jerseys

    Tracked from custom nfl jerseys / 2013/05/06 05:26  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  23. Subject : top nfl jerseys

    Tracked from top nfl jerseys / 2013/05/06 05:46  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  24. Subject : nfl jerseys saints

    Tracked from nfl jerseys saints / 2013/05/06 09:24  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  25. Subject : nfl jerseys.com

    Tracked from nfl jerseys.com / 2013/05/06 12:42  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  26. Subject : related resource site

    Tracked from related resource site / 2013/05/06 12:43  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  27. Subject : fake oakleys

    Tracked from fake oakleys / 2013/05/06 14:26  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  28. Subject : nfl jerseys made in usa free shipping

    Tracked from nfl jerseys made in usa free shipping / 2013/05/06 17:15  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  29. Subject : nfl jerseys for sale

    Tracked from nfl jerseys for sale / 2013/05/06 20:54  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  30. Subject : Going at www.toujoula.com

    Tracked from Going at www.toujoula.com / 2013/05/07 01:41  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  31. Subject : http://www.gillgren.net/

    Tracked from http://www.gillgren.net/ / 2013/05/07 04:24  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  32. Subject : nfl jerseys ravens

    Tracked from nfl jerseys ravens / 2013/05/07 04:27  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  33. Subject : click through the up coming website

    Tracked from click through the up coming website / 2013/05/07 04:57  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  34. Subject : please click the next post

    Tracked from please click the next post / 2013/05/07 05:04  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  35. Subject : http://appletv.altervista.org/2012/02/15/guida-utilizziamo-un-telecomando-universale-sulla-apple-tv/comment-page-12/

    Tracked from http://appletv.altervista.org/2012/02/15/guida-utilizziamo-un-telecomando-universale-sulla-apple-tv/comment-page-12/ / 2013/05/07 19:31  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  36. Subject : nfl jerseys from china

    Tracked from nfl jerseys from china / 2013/05/07 21:40  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  37. Subject : nfl jerseys ravens

    Tracked from nfl jerseys ravens / 2013/05/07 22:42  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  38. Subject : nfl jerseys wholesale china

    Tracked from nfl jerseys wholesale china / 2013/05/07 22:52  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  39. Subject : nike max

    Tracked from nike max / 2013/05/08 12:18  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  40. Subject : Ralph Lauren Polo Outlet

    Tracked from Ralph Lauren Polo Outlet / 2013/05/09 01:42  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  41. Subject : Christian Louboutin Slingbacks

    Tracked from Christian Louboutin Slingbacks / 2013/05/10 16:35  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  42. Subject : nfl jerseys from china

    Tracked from nfl jerseys from china / 2013/05/10 19:03  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  43. Subject : 2012 nike nfl jerseys

    Tracked from 2012 nike nfl jerseys / 2013/05/10 19:07  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

  44. Subject : cheap air max

    Tracked from cheap air max / 2013/05/12 10:27  삭제

    CoCo의 컴퓨터와 IT 이야기 ::

About

by CoCo

Notice

Counter

· Total
: 287541
· Today
: 153
· Yesterday
: 1375