Skip to content

HTML5 기본 템플릿 with jQuery 개발이야기

웹 페이지를 다루기 위해 가장 기초적인 페이지를 매번 구성하는 작업은 상당히 귀찮습니다.

이런 경우에 가볍게 가져다가 쓸수 있도록 jQuery 최신버전을 이용하는 HTML5 기본 페이지 템플릿을 작성해 봤습니다.


HTML5 기본 템플릿
<!doctype html>
<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
    <title>HTML5 마크업</title>

    <script type="text/javascript">
        $(document).ready(function () {
            $("p").text("차세대 웹표준으로서 HTML5 - The DOM is now loaded and can be manipulated.");
        });
    </script>
    </head>
    <body>
        <p>Not loaded yet.</p>
    </body>
</html>


jQuery site를 통해 다운로드 받는 속도가 느릴경우 구글 라이브러리 호스팅 서비스를 이용하면 됩니다.

구글이 제공하는 자바스크립트 라이브러리 호스팅 목록

http://code.google.com/intl/ko-KR/apis/ajaxlibs/documentation/#AjaxLibraries

Share
이 글과 관련된 글
  1. [2012/01/25] [HTML5] W3C RF by 곰이아빠 (67)
  2. [2011/10/23] jquery로 ajax호출시 로딩이미지 보여주기 by 날파리 (1160)
  3. [2011/10/06] javascript에서 replaceAll을 써보자 by 날파리 (387)
  4. [2011/05/27] 20110330_array of Array _ javascript _ event by Gear (539)
  5. [2011/05/27] 20110329_Lists _ table _ form_tag _ javascript _ variables _ Operator _ 제어문 _ Array by Gear (676)
Tag :

Leave Comments

T-NAVI