title: Why tabs content is visible always in materializecss
body: <p>I was trying to test how can I create tabs using materialize, and I was testing this code</p>
  
  <pre><code>&lt;div class="row"
  
  &lt;div class="col s12"&gt;
    &lt;ul class="tabs"&gt;
      &lt;li class="tab col s3"&gt;&lt;a href="#test1"&gt;Test 1 &lt;/a&gt;&lt;/li&gt;
      &lt;li class="tab col s3"&gt;&lt;a class="active" href="#test2"&gt;Test 2&lt;/a&gt;&lt;/li&gt;
      &lt;li class="tab col s3"&gt;&lt;a href="#test3"&gt;Test 3&lt;/a&gt;&lt;/li&gt;
      &lt;li class="tab col s3"&gt;&lt;a href="#test4"&gt;Test 4&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;
  
  &lt;div id="test1" class="col s12"&gt;Test 1&lt;/div&gt;
  &lt;div id="test2" class="col s12"&gt;Test 2&lt;/div&gt;
  &lt;div id="test3" class="col s12"&gt;Test 3&lt;/div&gt;
  &lt;div id="test4" class="col s12"&gt;Test 4&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The problem is that the content of all divs is always visible as shown in the following figure
  <a href="https://i.stack.imgur.com/xPu9U.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xPu9U.jpg" alt="enter image description here"></a></p>
  
  <p>I did intialize the tabs with this line $('ul.tabs').tabs();</p>
  
  <p>Can you help me to know why am I getting this weird output? Thank you in advance.</p>