Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <html>

<head>
<style>

input {margin-bottom:10px}


.zebra1 
 {  
   border-collapse:collapse;
}
.zebra1 th {background-color:#405060; color:#fff}
.zebra1 th,td {padding:10px}

.zebra1 tr:nth-child(odd) {
    background-color: #f2f2f2      
}
</style>

<link href="https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com//ajax/libs/jquery/3.3.1/jquery.min.js"></script>

</head>
<body>


<table id="tableId" class="zebra1">
   <thead>
      <tr class="tableizer-firstrow">
         <th>Book</th>
         <th>Author</th>
      </tr>
   </thead>
   <tbody>
      <tr>
         <td>Wings of fire</td>
         <td>A P J Abdul Kalam</td>
      </tr>
      <tr>
         <td>Truth Love and little Malice</td>
         <td>Khushwanth Singh</td>
      </tr>
      <tr>
         <td>The race of my life</td>
         <td>Milkha singh</td>
      </tr>
      <tr>
         <td>My Country My life</td>
         <td>L K Advani</td>
      </tr>
      <tr>
         <td>One life is not enough</td>
         <td>K Natwar singh</td>
      </tr>
      <tr>
         <td>The test of My life</td>
         <td>Yuvraj singh</td>
      </tr>
      <tr>
         <td>An Autobiography</td>
         <td>Jawaharlal Nehru</td>
      </tr>
      <tr>
         <td>Playing it my way</td>
         <td>Sachin Tendulkar</td>
      </tr>
      <tr>
         <td>Matters of Discretion</td>
         <td>I K Gujral</td>
      </tr>
      <tr>
         <td>A Shot at history</td>
         <td>Abhinav Bindra</td>
      </tr>
      <tr>
         <td>Straight from the heart</td>
         <td>Kapildev</td>
      </tr>
      <tr>
         <td>My times</td>
         <td>J B Kripalani(acharya kripalani)</td>
      </tr>
      <tr>
         <td>Autobiographyof Yogi</td>
         <td>Paramahamsa Yogananda</td>
      </tr>
      <tr>
         <td>The Z Factor</td>
         <td>Subhash Chandra</td>
      </tr>
      <tr>
         <td>Mein Kampf</td>
         <td>Adolf Hitler</td>
      </tr>
      <tr>
         <td>My Experiments with Truth</td>
         <td>M K Gandhi</td>
      </tr>
      <tr>
         <td>Losing My virginity</td>
         <td>Richard Branson</td>
      </tr>
      <tr>
         <td>My Brief History</td>
         <td>Stephen Hawking</td>
      </tr>
      <tr>
         <td>Moon Walk</td>
         <td>Michael Jackson</td>
      </tr>
      <tr>
         <td>The Snowball:Warren buffett and business of life</td>
         <td>Alice Schroeder</td>
      </tr>
      <tr>
         <td>Raga Mala</td>
         <td>Pandit Ravi Shankar</td>
      </tr>
      <tr>
         <td>The Score of My life</td>
         <td>Zubin Mehta</td>
      </tr>
      <tr>
         <td>Long walk to freedom</td>
         <td>Nelson Mandela</td>
      </tr>
      <tr>
         <td>Open</td>
         <td>Andre Agassi</td>
      </tr>
      <tr>
         <td>The Story of My life</td>
         <td>Helen Keller</td>
      </tr>
      <tr>
         <td>Any thing But Khamosh</td>
         <td>Shatrugan Sinha</td>
      </tr>
      <tr>
         <td>Then One Day</td>
         <td>Naseeruddin Shah</td>
      </tr>
      <tr>
         <td>Sunny Days:An Auto biography</td>
         <td>Sunil Gavaskar</td>
      </tr>
      <tr>
         <td>Un breakable</td>
         <td>Mary Com</td>
      </tr>
      <tr>
         <td>An Auto biographical study</td>
         <td>Sigmund Freud</td>
      </tr>
      <tr>
         <td>The Words</td>
         <td>Jean Paul Sartre</td>
      </tr>
      <tr>
         <td>My story</td>
         <td>Marilyne Monroe</td>
      </tr>
      <tr>
         <td>The Greatest:My Own Story</td>
         <td>Muhammad Ali</td>
      </tr>
      <tr>
         <td>The Nice Guy who finished first(Rahul Dravid biography)</td>
         <td>Prabhu desai</td>
      </tr>
      <tr>
         <td>Golden Girl</td>
         <td>P T Usha(Athlete)</td>
      </tr>
      <tr>
         <td>Faster Than Lightening:My autobiography</td>
         <td>Usain Bolt(Athlete)</td>
      </tr>
      <tr>
         <td>KP:The Auto biography</td>
         <td>Kevin Pietersen(South Africa Cricketer)</td>
      </tr>
      <tr>
         <td>My World My side</td>
         <td>David Beckham(Foot ball player)</td>
      </tr>
      <tr>
         <td>Auto biographical Notes</td>
         <td>Albert Einstein</td>
      </tr>
      <tr>
         <td>My Life</td>
         <td>Bill Clinton</td>
      </tr>
      <tr>
         <td>Living History</td>
         <td>Hillary Clinton</td>
      </tr>
      <tr>
         <td>The Fall of a Sparrow</td>
         <td>Salim Ali(Ornithologist)</td>
      </tr>
      <tr>
         <td>Wandering in Many worlds</td>
         <td>V R K Iyer</td>
      </tr>
      <tr>
         <td>An American life</td>
         <td>Ronald Reagan(Former America President)</td>
      </tr>
      <tr>
         <td>The bandit Queen of India</td>
         <td>Phoolan devi</td>
      </tr>
      <tr>
         <td>The Substance and the Shadow</td>
         <td>Dilip Kumar</td>
      </tr>
      <tr>
         <td>My Confession</td>
         <td>Leo Tolstoy</td>
      </tr>
      <tr>
         <td>Songs My mother taught</td>
         <td>Marlon Brando</td>
      </tr>
      <tr>
         <td>My Child hood</td>
         <td>Maxim Gorkhy</td>
      </tr>
      <tr>
         <td>De Profundis</td>
         <td>Oscar Wilde</td>
      </tr>
      <tr>
         <td>Walk this Way</td>
         <td>Aero Smith</td>
      </tr>
      <tr>
         <td>Daughter of the Destiny</td>
         <td>Benazir Bhutto</td>
      </tr>
      <tr>
         <td>Wasim:Auto biography</td>
         <td>Wasim Akram(Pakistan Cricketer)</td>
      </tr>
      <tr>
         <td>Controversially yours</td>
         <td>Shoaib Akhtar(Pakistan Fast bowler)</td>
      </tr>
      <tr>
         <td>It'snot about the bike:My Journey back to life</td>
         <td>Lance Armstrong</td>
      </tr>
      <tr>
         <td>On writing</td>
         <td>Stephen King</td>
      </tr>
      <tr>
         <td>The Auto biography of An Unknown Indian</td>
         <td>Nirad C Chaudhuri</td>
      </tr>
      <tr>
         <td>Dreams from my Father</td>
         <td>Barack Obama</td>
      </tr>
      <tr>
         <td>My days</td>
         <td>R K Narayan</td>
      </tr>
      <tr>
         <td>Revenue Stamp:An Autobiography</td>
         <td>Amrita Pritam</td>
      </tr>
   </tbody>
</table>

  
  <script src="https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
  
<script>
    $(function () {
       $('#tableId').DataTable();
    });
</script>
</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console