Chủ Nhật, 8 tháng 5, 2011

Cùng Học HTML 5 Part 1

Giờ này mà bắt đầu nghiên cứu chắc chưa muộn đâu nhỉ.
Trước khi đi sâu vào nó. chúng ta nên tìm hiểu cấu trúc của nó. Ở đây mình không muốn đi quá sâu vào lý thuyết. Mình muốn các bạn dễ hình dung hơn bằng cách xem code. Mình sẽ upload tài liệu cho các bạn download về xem nếu muốn.
/*************************/
Cấu trúc HTML 5

<!DOCTYPE HTML>
<html>
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Your Website</title>
</head>
<body>

        <header>
                <nav>
                        <ul>
                                <li>Your menu</li>
                        </ul>
                </nav>
        </header>

        <section>

                <article>
                        <header>
                                <h2>Article title</h2>
                                <p>Posted on <time datetime="2009-09-04T16:31:24+02:00">September 4th 2009</time> by <a href="#">Writer</a> - <a href="#comments">6 comments</a></p>
                        </header>
                        <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
                </article>

                <article>
                        <header>
                                <h2>Article title</h2>
                                <p>Posted on <time datetime="2009-09-04T16:31:24+02:00">September 4th 2009</time> by <a href="#">Writer</a> - <a href="#comments">6 comments</a></p>
                        </header>
                        <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>
                </article>

        </section>

        <aside>
                <h2>About section</h2>
                <p>Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
        </aside>

        <footer>
                <p>Copyright 2009 Your name</p>
        </footer>
</body>
</html>
Link Download Tài Liệu
»»  read more