Theme Layout

Boxed or Wide or Framed

Wide

Theme Translation

Display Featured Slider

Featured Slider Styles

Display Grid Slider

yes

Grid Slider Styles

Display Trending Posts

Display Author Bio

Display Instagram Footer

off

Dark or Light Style

Light

Blog Archive

Powered by Blogger.

Tuesday, February 28, 2017

[HTML5] Layouts


# HTML Layouts


● HTML Layout Elements

 Websites often display content in multiple columns. HTML5 offers new semantic elements that define the different parts of a web page.
https://www.w3schools.com/html/html_layout.asp
  • <header> - Defines a header for a document or a section
  • <nav> - Defines a container for navigation links
  • <section> - Defines a section in a document
  • <article> - Defines an independent self-contained article
  • <aside> - Defines content aside from the content (like a sidebar)
  • <footer> - Defines a footer for a document or a section
  • <details> - Defines additional details
  • <summary> - Defines a heading for the <details> element

● HTML Layout Techniques

 There are 4 different ways to create multicolumn layouts. Each way has its pros and cons.

  • HTML tables
  • CSS float property
  • CSS framework
  • CSS flexbox


● CSS Floats

 It is common to do entire web layouts using the CSS float property.
 Floating elements are tied to the document flow, which may harm the flexibility.




● CSS Flexbox

 Flexbox is a new layout mode in CSS3.
 Use of flexbox ensures that elements behave predictably when the page layout must accommodate different screen sizes and different display devices.



QuickEdit
Unknown
1 Comments
Share This Post :

You Might Also Like

1 comment:

  1. sands casino - Situs Judi Bola Online Terpercaya
    Pragmatic Play septcasino · งานออนไลน์ Slot Joker123 · Slot Spadegaming · Slot Playtech Slot · Microgaming Slot · 인카지노 Slot Casino Online · Topgolf Casino Slots.

    ReplyDelete

Follow @SunriseSunsetBlog