HTML5 APPLICATIONS DEVELOPMENT MANUAL

(lu) #1

15 - Managing Content


Content Flow


The content flow can be managed in an HTML document using inline


flow and block flow properties in CSS.


With block flow an element occupies the entire width available. With


inline flow an element occupies only the available width. We could say that


inline flow “fits” and block flow “separates”.


For example the
  • list item element, is a block element.

  • <!doctype html>




    Block and inline flow



    Block and inline flow


    List item is a block element, that we can display as an inline element, using CSS.




    • HTML

    • PHP
    Free download pdf