How to modify HTML of specific node in Drupal 7? I use Drupal 7 with Bootstrap Theme. I have many blocks placed on different nodes and HTML generated is as follows:

&lt;div class="region region-content"&gt;
  &lt;section id="block-system-main" class="block block-system clearfix col-md-12"&gt;
    &lt;div id="node-21" class="node node-pagina clearfix"&gt;  
      &lt;div class="content"&gt;
        [...]
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/section&gt; &lt;!-- /.block --&gt;

  &lt;section id="block-block-13" class="block block-block contextual-links-region clearfix col-md-4"&gt;
    [...]
  &lt;/section&gt; &lt;!-- /.block --&gt;

  &lt;section id="block-block-12" class="block block-views contextual-links-region clearfix col-md-6"&gt;
    [...]
  &lt;/section&gt; &lt;!-- /.block --&gt;

  &lt;section id="block-block-15" class="block block-block contextual-links-region clearfix col-md-12"&gt;
    [...]
  &lt;/section&gt; &lt;!-- /.block --&gt;

  &lt;section id="block-block-14" class="block block-block contextual-links-region clearfix col-md-12"&gt;
    [...]
  &lt;/section&gt; &lt;!-- /.block --&gt;
&lt;/div&gt;


I want to change that HTML for put some &lt;div class="container"&gt; to enclosing some &lt;sections&gt;

Example:

&lt;div class="container"&gt;
    &lt;section id="block-block-13" class="block block-block contextual-links-region clearfix col-md-4"&gt;
      [...]
    &lt;/section&gt; &lt;!-- /.block --&gt;

    &lt;section id="block-block-12" class="block block-views contextual-links-region clearfix col-md-6"&gt;
      [...]
    &lt;/section&gt; &lt;!-- /.block --&gt;
  &lt;/div&gt;
Short answer: Place a customized template named node--[nid].tpl.php or page--node--[nid].tpl.php in your themes template folder. ([nid] = id of specific node).

Long answer: If you didn't done yet, you should first create a Bootstrap subtheme for your modifications. Then copy either node.tpl.php or page.tpl.php from the Bootstarp theme inside your subtheme folder. Rename the file to either node--[nid].tpl.php or page--node--[nid].tpl.php (Replace [nid] with the node id of the specific node) and customize the file to your liking. Lastly clear the cache at /admin/config/development/performance

For more/other template examples have a look at Drupal 7 Template (Theme Hook) Suggestions

EDIT: To control specific blocks for a specific page, I'd create a dedicated region inside your subtheme's .info-file and in your page.tpl.php / page--node--[nid].tpl.php. And place the blocks inside those regions.