title: Display IPython.display.HTML class objects inside ipywidgets
body: <p>I want to display IPython.display.HTML object i.e. html_bt and widget i.e. bt inside  HBox Layout. How do I achieve that? Is it even possible? Or how do I convert html_bt to widget objects?
  Following is my code:</p>
  
  <pre><code>from ipywidgets import widgets, Layout, HBox
  from IPython.display import display, HTML
  
  css_str = '&lt;style&gt;.foo{color:#F00;} )} &lt;/style&gt;'
  
  
  out = widgets.Output()
  
  def OnClick():
      with out:
          print('QQQ')
  
  html_bt=HTML(css_str + '&lt;button class="button-style" onclick="IPython.notebook.kernel.execute(\'OnClick()\')"&gt; &lt;img src="https://www.fnordware.com/superpng/pnggrad16rgb.png" alt="Snow"&gt;&lt;/button&gt;')
  
  bt = widgets.Button(
      description='Click me',
      disabled=False,
      button_style='', # 'success', 'info', 'warning', 'danger' or ''
      tooltip='Click me',
      icon='check' # (FontAwesome names without the `fa-` prefix)
  )
  
  
  h_box = HBox([bt, display(html_bt)])
  h_box
  </code></pre>