How do I make a tabbed view in HTML?

后端 未结 9 1697
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-13 05:20

When clicking on tab A, show content for tab A. Click on tab B, show content for tab B, and so on.

What\'s the most simple and compatible way of constructing a HTML snip

9条回答
  •  执笔经年
    2021-02-13 06:05

    If you want to implement your own tab view, just do it like this:

    
        
            
    
            
        
    
        
            
            
    This is Tab 1
    This is Tab 2
    This is Tab 3
    This is Tab 4

    A jsFiddle is available here.

提交回复
热议问题