div inline style width height code example Example: inline styling width <div class="foo" style="width: 400px; height: 300px;">