Ví dụ về khung của một trang HTML5 Code: <!DOCTYPE html> <html lang="vi"> <head> <title>Khung của trang HTML5</title> <meta charset="utf-8"> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"> </script> <![endif]--> <style> body {font-family: Verdana, sans-serif; font-size:0.8em;} header,nav, section,article,footer {border:1px solid grey; margin:5px; padding:8px;} nav ul {margin:0; padding:0;} nav ul li {display:inline; margin:5px;} </style> </head> <body> <header> <h1>Khung của trang HTML5</h1> </header> <nav> <ul> <li><a href="/keo-tha-trong-html5/">Kéo thả trong HTML5</a></li> <li><a href="/geolocation-dinh-vi-vi-tri-trong-html5/">Định vị trong HTML5</a></li> <li><a href="/canvas-trong-html5/">Canvas trong HTML5</a></li> </ul> </nav> <section> <h1>Các thành phố nổi tiếng</h1> <article> <h2>London</h2> <p>London là thủ đô của Nước Anh. Nó là thành phố đông dân nhất trong Vương Quốc Anh với một đô thị có diện tích hơn 13 triệu cư dân.</p> </article> <article> <h2>Paris</h2> <p>Paris là thủ đô và là thành phố đông dân nhất của Pháp.</p> </article> <article> <h2>Tokyo</h2> <p>Tokyo là thủ đô của Nhật Bản, trung tâm của vùng thủ đô Tokyo và là đô thị đông nhất trên thế giới.</p> </article> </section> <footer> <p>© 2015 WebVN. Toàn quyền sở hữu.</p> </footer> </body> </html> Kết quả: