Several implementation methods of tab bar in HTML

小云云
Release: 2017-12-11 11:33:35
Original
3978 people have browsed it

There are many uses of tags in HTML. This article recommends several implementation methods for the tag bar. It is very useful for learning tag knowledge. I hope it can help everyone.

Tag page: Category + Description

Tag bar: Category=>Let users understand where they are and where they are going

##1. CSS naming method:


##XML/HTML Code

Copy content to clipboard


    ##<
  1. p class ="service-tabs service-tabs1">


  2. ## 

    <
  3. ul

    class="service-tabs-inner">   <

  4. li

    class="on"><a href="#nogo">Followa>li>  <

  5. li

    ><a href="#nogo ">Recommendeda>li> <

  6. li

    >< a href="#nogo">Navigationa>li>#  <

  7. li
  8. ><a href="#nogo" >Shoppinga>li>## 

    ul
  9. >

  10. #
    p

  11. >

  12. #Tab page: tab

Advantages: 1. Easy to search 2. Comply with SEO standards


2. Layout method:

##1.