HTML
CSS
JavaScript
HTML
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>Tab 选项卡 - 默认激活的选项</title>
  <link rel="stylesheet" href="https://cdn.w3cbus.com/library/mdui/1.0.2/css/mdui.min.css"/>
</head>
<body>

  <div class="mdui-container">
    <div class="mdui-tab" mdui-tab>
      <a href="#example8-tab1" class="mdui-ripple">web</a>
      <a href="#example8-tab2" class="mdui-tab-active mdui-ripple">shopping</a>
      <a href="#example8-tab3" class="mdui-ripple">images</a>
    </div>
  </div>

  <script src="https://cdn.w3cbus.com/library/mdui/1.0.2/js/mdui.min.js"></script>
</body>
</html>
CSS

  
JavaScript