메뉴 건너뛰기

XE : Xpress Engine


XE 개발에 필요한 정보 공유 - XE의 새로운 기능을 개발하는데 유용한 정보를 나누어 보세요.


HTML/CSS 강의

 <header>
    <hgroup>
        <h1>Company Name</h1>
        <h2>An example of HTML5 and CSS3 in action</h2>
    </hgroup>
</header><nav>
    <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">About Us</a></li>
        <li><a href="#">Contact Us</a></li>
    </ul>
</nav><article>
    <header>
        <time datetime="2010-01-12" pubdate>
            <span>Jan</span> 12
        </time>
        <h1>
            <a href="#" title="Link to this post" 
rel="bookmark">Article Heading</a>
        </h1>
    </header>
    <p>This is an article that demonstrates some of the new features 
that HTML5 and CSS3 has to offer. This article contains several sections, each 
with its own heading, as well as a video element which will play a video without 
Flash on browsers that support it.</p>
    <section>
        <header>
            <h1>This is a section heading</h1>
        </header>
        <p>This is an example of a basic section of a document. 
A section can refer to different parts of a document, application, or page. 
According to the draft W3C spec, HTML5 sections usually have headings.</p>
    </section>
</article><footer>
    <p>&copy; 2009 Company Name. All rights reserved.</p>
</footer>

보러가기 : http://www.ibm.com/developerworks/kr/library/tutorial/wa-html5/index.html

 

이게 기본구조라네요.

 

XE2 는 HTML5에 최적화 되겠죠 ?

 

 <!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>HTML5 Demo</title>
        <link rel="stylesheet" href="styles.css" />
        <!--[if IE]>
        <script src="http://html5shiv.googlecode.com/svn/trunk
/html5.js"></script>
        <![endif]-->
    </head>
    <body>

    </body>
</html>

 

 

 

1.  시맨틱 요소

HTML5 에서는 div 를 계속 사용하긴 하지만, div 보다 시맨틱요소를 권장한다고 합니다.

기존에 방식은 div 에 id 나 class 를 줘서 사용했는데

HTML5 부터는 이름이 정해져서 나온다는~

 

<article></article>

<aside></aside>

<hgroup></hgroup>

<nav></nav>

<section></section>

  

<audio></audio>

<canvas></canvas>

<video></video>

 

이런식으로 말이죠.

 

2. input type 폼양식의 변화

기존의 input type submit select 등의 태그에 변화가 있습니다.

color date number tel time month week url email 과 같이 한눈에 보기 쉽게 바뀐다는

 

 <section>
    <header>
        <h1>This is a feedback form</h1>
    </header>
    <p><form>
        <label for="contact_name">Name:</label>
        <input id="contact_name" placeholder="Enter your name" 
autofocus><br />
        <label for="contact_email">E-mail:</label>
        <input type="email" id="contact_email" placeholder="Enter 
your email address"><br />            
        <label for="contact_phone">Phone:</label>
        <input type="tel" id="contact_phone" placeholder="Enter your 
phone number"><br />
        <label for="contact_callback">Callback on:</label>            
<input type="datetime" id="contact_callback"><br />
        <label for="contact_priority">Priority:</label>
        <input type="range" min="1" max="5" value="1" 
id="contact_priority"><br /><br />
        <input type="submit" value="Request Call">
    </form></p>
</section>

3. 새로운 기능

location 이라는 태그로 지리정보를 받을 수 있습니다. 위성위치인 위도/경도 형태로 나타난다는..

자바스크립트를 사용하지 않고도 , 끌어놓기를 할 수 있습니다.

다양한 TTF 폰트를 적용할 수 있습니다.

동영상 음악등의 음성/배경음악 강조효과

.

.

자세한건 위 링크에...

 

* HTML5 는 IE 6,7,8 에선 작동하지 않아요.

* 첨부파일에 예제 올렸습니다.

번호 제목 글쓴이 날짜 조회 수
공지 HTML/CSS 강의 올리시기전에 꼭 읽어주세요. [20] Nytoner 2003.01.15 90121
470 웹페이지에서 ICQ 번호 자동으로 추가하기... [1] 잔디 2001.01.05 16310
469 스크롤바 색깔 바꾸는 스타일... [7] 잔디 2001.01.05 21624
468 웹사이트 로딩속도 높혀주는 10가지 방법 [32] 2001.07.25 15080
467 (table)에서 HTML 태그를 적용시켜 보기 [15] 정후니 2001.08.31 16322
466 익스플로러의 자동완성 기능 off 하기 [6] WOWpc 2001.10.23 3236
465 글씨를 세로로 써봅시다...^_^ [6] 술도짱 2001.11.14 10348
464 글입력상자에서 자동으로 한글, 영문 바뀌게 하기 [6] 이경두 2001.11.15 8362
463 새로운필터를 적용한 칼라버튼.[ie5.5 sp2이상] [26] 술도짱 2001.11.15 12942
462 익스플로어 즐겨찾기에 아이콘 추가하기 [7] rolly™ 2001.12.13 9796
461 [1차패치] 내 msn 현재상태를 보여주자! + 캡처없앰 -ㅂ- [18] 티르 2002.01.04 14811
460 홈페이지에 Fade-in 적용하기~ [5] remy 2002.01.08 9707
459 CSS 와 HTML 과 연결하기 [5] Topy 2002.02.21 2294
458 CSS에 클래스에 관한거 추가 [4] DearMai 2002.02.21 9104
457 윈도우 꽉찬 화면으로 보기 태그 [1] ▩윤미 2002.02.21 7014
456 ▩왼쪽에다가 스크롤바 넣기 [1] ▩윤미 2002.02.21 7379
455 ▩HTML 최적화 기법 [3] ▩윤미 2002.02.21 9576
454 msn 메신저 내 홈에서 채팅창과/대화상대 추가하기를 넣어보장! [8] 카멜롯™ 2002.02.21 7562
453 브라우저 입력 창에 나만의 아이콘 띄우기 [2] Topy 2002.02.22 8879
452 원하는 위치에 배경 고정 시키기 [5] Topy 2002.02.22 15220
451 Http에러코드들입니다 [8] Shyos 2002.02.22 6050