Edit Code in left box and click Show Results button to see the result. | Home
<html> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=css_display by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 14:43:27 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> <head> <title>Practice CSS display Property</title> </head> <style tyle="text/css"> <!-- p { display:inline } div { display: block } --> </style> <body> <p> This paragraph will inline with the next paragraph </p> <p> and will make a single line. </p> <br /> <br /> <div> This paragraph will be separate from the next parahgraph </div> <div> and this is second paragraph. </div> </body> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=css_display by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 14:43:27 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> </html> |