-------

-------

  • NA
  • 213
  • 7k

how to count a <i></i> tag

Dec 30 2020 9:27 AM
I want to count a <i> tag but how?
 
  1. <div class="card-body p-0">  
  2.                <div class="wizard wizard-1" id="mainform" data-wizard-state="step-first" data-wizard-clickable="false">  
  3.                    <!--begin Wizard Nav-->  
  4.                    <div class="wizard-nav border-bottom">  
  5.                        <div class="wizard-steps p-8 p-lg-10">  
  6.   
  7.                            <div class="wizard-step" data-wizard-type="step" data-wizard-state="current">  
  8.                                <div class="wizard-label">  
  9.                                    <i class="wizard-icon flaticon-bus-stop"></i>  
  10.                                    <h3 class="wizard-title">1. Step</h3>  
  11.                                </div>  
  12.                                 
  13.                            </div>  
  14.                            <div class="wizard-step" data-wizard-type="step" data-wizard-state="pending">  
  15.                                <div class="wizard-label">  
  16.                                    <i class="wizard-icon flaticon-list"></i>  
  17.                                    <h3 class="wizard-title">2. Step</h3>  
  18.                                </div>  
  19.                                 
  20.                            </div>  
  21.                            <div class="wizard-step" data-wizard-type="step" data-wizard-state="pending">  
  22.                                <div class="wizard-label">  
  23.                                    <i class="wizard-icon flaticon-responsive"></i>  
  24.                                    <h3 class="wizard-title">3. Step</h3>  
  25.                                </div>  
  26.                                 
  27.                            </div>  
  28.                            <div class="wizard-step" data-wizard-type="step" data-wizard-state="pending">  
  29.                                <div class="wizard-label">  
  30.                                    <i class="wizard-icon flaticon-responsive"></i>  
  31.                                    <h3 class="wizard-title">4. Step</h3>  
  32.                                </div>  
  33.                                  
  34.                            </div>  
  35.                            <div class="wizard-step" data-wizard-type="step" data-wizard-state="pending">  
  36.                                <div class="wizard-label">  
  37.                                    <i class="wizard-icon flaticon-responsive"></i>  
  38.                                    <h3 class="wizard-title">5. Step</h3>  
  39.                                </div>  
  40.                            </div>  

Answers (6)