title: How to place image on left side of a table in HTML5
body: <p>I am using <code>HTML5</code>.
  I want to have a page in which, it has a image and table side by side
  Means,</p>
  
  <p>we can consider <code>&lt;table&gt;</code></p>
  
  <p>In which, I have a <code>&lt;tr&gt;.</code></p>
  
  <p>In <code>&lt;tr&gt;</code>, I have 2 <code>&lt;td&gt;&lt;/td&gt;</code></p>
  
  <p>In one <code>&lt;td&gt;</code>,I want to display an image and in another<code>&lt;td&gt;</code>,</p>
  
  <p>I want to display a <code>&lt;table&gt;</code> having some fields.</p>
  
  <p>But it is not displaying properly.</p>
  
  <p>second <code>&lt;td&gt;</code> data is displaying below the first <code>&lt;td&gt;</code>
  my scenario is like:</p>
  
  <pre><code>&lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;image src=""&gt;&lt;/image&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;table&gt;
                          &lt;tr&gt;
                              &lt;td&gt;
                                  field1
                              &lt;/td&gt;
                              &lt;td&gt;
                                  textbox
                              &lt;/td&gt;
                          &lt;/tr&gt;
                          &lt;tr&gt;
                              &lt;td&gt;
                                  field 2
                              &lt;/td&gt;
                              &lt;td&gt;
                                  textbox
                              &lt;/td&gt;
                          &lt;/tr&gt;
                          &lt;tr&gt;
                              &lt;td&gt;
                                  button
                              &lt;/td&gt;
                          &lt;/tr&gt;
                      &lt;/table&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
  </code></pre>
  
  <p>Screen is displaying like this:
  <img src="https://i.stack.imgur.com/FuQQW.png" alt="enter image description here"></p>
  
  <p>how can I do this?</p>
  
  <p>Updated:
  My ASP.NET MVC View:</p>
  
  <pre><code>&lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;div style="width: auto; height: auto;"&gt;
                          &lt;image src="../../Images/Image1.jpg"&gt;&lt;/image&gt;
                      &lt;/div&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;div style="width: auto; height: auto;"&gt;
                              &lt;table&gt;
                                  &lt;tr&gt;
                                      &lt;td colspan="2" align="center"&gt;
                                                                                      Application1
                                                                              &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td colspan="3"&gt;
                                          &lt;%: Html.ValidationSummary(true, "Login was unsuccessful.")%&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;
                                          &lt;%: Html.LocalizedLabelFor(m =&gt; m.LoginID)%&gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;%: Html.TextBoxFor(m =&gt; m.LoginID)%&gt;&lt;br /&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
                                      &lt;td&gt;
                                          &lt;%: Html.LocalizedLabelFor(m =&gt; m.Password)%&gt;
                                      &lt;/td&gt;
                                      &lt;td&gt;
                                          &lt;%: Html.PasswordFor(m =&gt; m.Password)%&gt;&lt;br /&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                                  &lt;tr&gt;
  
                                              &lt;td&gt;
                                                  &lt;input type="submit" value="Log On"
                                                      name="Login"/&gt;
                                              &lt;/td&gt;
                                          &lt;/tr&gt;
                              &lt;/table&gt;
                      &lt;/div&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
  </code></pre>