HTML4布局:
HTML5布局:
基本的HTML5文档的模式为:
<!DOCTYPE html> <html lang = "en"> <head> <meta charset = "utf-8"> <title>HTML5 Demo</title> </head> <body> <header></header> <nav></nav> <section> <article></article> <article></article> </section> <aside></aside> <footer></footer> </body> </html>