웹마스터 팁

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<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에 최적화 되겠죠 ?

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!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 과 같이 한눈에 보기 쉽게 바뀐다는

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<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>
 
        <label for="contact_email">E-mail:</label>
        <input type="email" id="contact_email" placeholder="Enter
your email address">
             
        <label for="contact_phone">Phone:</label>
        <input type="tel" id="contact_phone" placeholder="Enter your
phone number">
 
        <label for="contact_callback">Callback on:</label>           
<input type="datetime" id="contact_callback">
 
        <label for="contact_priority">Priority:</label>
        <input type="range" min="1" max="5" value="1"
id="contact_priority">
 
 
        <input type="submit" value="Request Call">
    </form></p>
</section>

3. 새로운 기능

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

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

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

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

.

.

자세한건 위 링크에...

 

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

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

제목 글쓴이 날짜
압구정오피 압구정오피 ⦑오피.CLUB⦒ 압구정OP 압구정스파 압구정오피 koykoyah 2025.02.20
용인오피 ⦑출장안마사이트.COM⦒ 용인오피 용인출장마사지 용인오피 용인OP koykoyah 2025.02.20
산본오피 산본오피 ⦑오피쓰주소.COM⦒ 산본OP 산본스파 산본오피 koykoyah 2025.02.20
남양주오피 남양주OP ⦑오피사이트.NET⦒ 남양주휴게텔 남양주오피 남양주오피 koykoyah 2025.02.20
청주오피 청주오피 ⦑출장안마사이트.COM⦒ 청주OP 청주스파 청주오피 koykoyah 2025.02.20
전주오피 전주오피 ⦑출장안마사이트.COM⦒ 전주OP 전주스파 전주오피 koykoyah 2025.02.20
세종오피 ⦑출장안마사이트.COM⦒ 세종오피 세종출장마사지 세종오피 세종OP koykoyah 2025.02.20
답십리오피 답십리OP ⦑오피쓰주소.COM⦒ 답십리휴게텔 답십리오피 답십리오피 koykoyah 2025.02.20
포항오피 포항오피 ⦑오피쓰주소.COM⦒ 포항OP 포항스파 포항오피 koykoyah 2025.02.20
인천오피 ⦑출장마사지안내.COM⦒ 인천마사지 인천오피 인천오피 인천OP koykoyah 2025.02.20
서초오피 서초오피 ⦑출장마사지안내.COM⦒ 서초OP 서초스파 서초오피 koykoyah 2025.02.20
대구오피 대구출장안마 ⦑오피쓰.COM⦒ 대구OP 대구오피 대구오피 koykoyah 2025.02.20
압구정오피 압구정출장안마 ⦑오피쓰주소.COM⦒ 압구정OP 압구정오피 압구정오피 koykoyah 2025.02.20
산본오피 산본오피 ⦑오피쓰.COM⦒ 산본OP 산본스파 산본오피 koykoyah 2025.02.20
대전오피 ⦑오피쓰주소.COM⦒ 대전OP 대전오피 대전출장샵 대전오피 koykoyah 2025.02.20
천안오피 천안OP ⦑오피.CLUB⦒ 천안휴게텔 천안오피 천안오피 koykoyah 2025.02.20
포항오피 ⦑오피쓰주소.COM⦒ 포항마사지 포항오피 포항오피 포항OP koykoyah 2025.02.20
울산오피 ⦑오피사이트.NET⦒ 울산오피 울산출장마사지 울산오피 울산OP koykoyah 2025.02.20
대구오피 대구OP ⦑오피사이트.NET⦒ 대구휴게텔 대구오피 대구오피 koykoyah 2025.02.20
구미오피 ⦑출장마사지안내.COM⦒ 구미오피 구미출장마사지 구미오피 구미OP koykoyah 2025.02.20