# Tabs In Line 01

Tabs In Line 01 on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

[View on GitHub](https://github.com/EvotecIT/PSWriteHTML) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSWriteHTML/releases/tag/v1.41.0) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSWriteHTML)

Stars**1025**

Forks**115**

Open issues**0**

PowerShell Gallery downloads**7576901**

Release**v1.45.0**

Language: PowerShell Updated: 2026-11-19

Curated Examples

An example script from the PSWriteHTML repository.

- Source repository: [https://github.com/EvotecIT/PSWriteHTML](https://github.com/EvotecIT/PSWriteHTML)
- Example group: `Example-Experiments`

```powershell
Import-Module .\PSWriteHTML.psd1 -Force

New-HTML {
    Add-JS -Placement Header -Link 'https://code.jquery.com/jquery-3.3.1.min.js'
    Add-CSS -Placement Header -Link 'https://cdn.jsdelivr.net/npm/jquery-smarttab@3/dist/css/smart_tab_all.min.css'
    Add-JS -Placement Header -Link 'https://cdn.jsdelivr.net/npm/jquery-smarttab@3/dist/js/jquery.smartTab.min.js'

    Add-HTML {
        Add-HTML -HTML {
            @'
        <div id="smarttab">
        <ul class="nav">
           <li>
               <a class="nav-link" href="#tab-1">
                  Tab 1
               </a>
           </li>
           <li>
               <a class="nav-link" href="#tab-2">
                  Tab 2
               </a>
           </li>
           <li>
               <a class="nav-link" href="#tab-3">
                  Tab 3
               </a>
           </li>
           <li>
               <a class="nav-link" href="#tab-4">
                  Tab 4
               </a>
           </li>
        </ul>

        <div class="tab-content">
           <div id="tab-1" class="tab-pane" role="tabpanel">
              Tab content 1
           </div>
           <div id="tab-2" class="tab-pane" role="tabpanel">
              Tab content 2
           </div>
           <div id="tab-3" class="tab-pane" role="tabpanel">
              Tab content 3
           </div>
           <div id="tab-4" class="tab-pane" role="tabpanel">
              Tab content 4
           </div>
        </div>
    </div>
'@
        }
        Add-JS -Content @'
            $('#smarttab').smartTab( {
                    selected: 0, // Initial selected tab, 0 = first tab
                    theme: 'default', // theme for the tab, related css need to include for other than default theme
                    orientation: 'horizontal', // Nav menu orientation. horizontal/vertical
                    justified: true, // Nav menu justification. true/false
                    autoAdjustHeight: true, // Automatically adjust content height
                    backButtonSupport: true, // Enable the back button support
                    enableURLhash: true, // Enable selection of the tab based on url hash
                    transition: {
                        animation: 'none', // Effect on navigation, none/fade/slide-horizontal/slide-vertical/slide-swing
                        speed: '400', // Transion animation speed
                        easing:'' // Transition animation easing. Not supported without a jQuery easing plugin
                    },
                    autoProgress: { // Auto navigate tabs on interval
                        enabled: false, // Enable/Disable Auto navigation
                        interval: 3500, // Auto navigate Interval (used only if "autoProgress" is set to true)
                        stopOnFocus: true, // Stop auto navigation on focus and resume on outfocus
                    },
                    keyboardSettings: {
                        keyNavigation: true, // Enable/Disable keyboard navigation(left and right keys are used if enabled)
                        keyLeft: [37], // Left key code
                        keyRight: [39] // Right key code
                    }
                });
'@ -Placement Inline

    }
} -ShowHTML -Online -FilePath $PSScriptRoot\Example-TabsInline.html
```

<!-- PowerForge markdown artifact sha256:58555C0E5081F678447439A66E2B7584104294A0FFADF47CFA1F3A43312469B4 -->
