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