====== HTML ====== ===== Layout with
tag ===== refer:\\ [[webdesign:howbrowserwork#the_render_tree_relation_to_the_dom_tree|The render tree relation to the DOM tree]]\\ [[webdesign:howbrowserwork#positioning_scheme|positioning scheme]] ==== display blocks using
tag with none property float ==== HTML code: Example
body_left
body_main
=== display in ie === {{:webdesign:ie-normal.png|}} === display in chrome === {{:webdesign:chrome-normal.png|}} ==== display blocks using
tag with property float and none tag
==== footer display correctly in ie but wrong in chrome === display in ie === {{:webdesign:ie-float.png|}} === display in chrome === {{:webdesign:chrome-float.png|}} ==== display blocks using
tag with property float and tag
==== Example
body_left
body_main
Display correctly in both ie and chrome\\ {{:webdesign:ie-float.png|}} ===== Menu ===== ==== A Simple Menu Using HTML Lists And CSS ==== === vertical menu === === Horizontal menu with property float in tag
  • === === Horizontal menu with property display:inline in tag
  • === ==== HTML blocks and inline element ==== HTML elements can be grouped together with
    and . === HTML Block Elements === Most HTML elements **are defined as block level elements or as inline elements**. Block level elements **normally start (and end) with a new line when displayed in a browser**. Examples: **

    ,

    ,