Đây là bài tiếp cận với các thẻ trong thao tác layout một giao diện web của HTML5

  • <section> like a charpter. A section is a thematic grouping of content, typically with a heading
  • <article> like a post. An article should be possible to read it independently from the rest of the web site
  • <nav> like a menu. Defines navigation links
  • <header> Defines a header for a document or section
  • <footer> Defines a footer for a document or section
  • <aside> Defines content aside from the page content

Lưu ý:

  • header, section, footer, aside, nav, main, article, figure {
    display: block;
    }
  • thẻ section có thể chứa article và ngược lại, hoặc trong section có các section con

Comments

No comments

There are no comments yet. Be the first to write one.

Leave a comment
Your email is never shown publicly.