&lt;style&gt;
  ul {
    list-style: none; /* Removes the dots */
    padding: 0;
    margin: 0;
  }

  li:nth-child(6), li:nth-child(9), li:nth-child(10) {
    border-bottom: 3px solid #6f6f6f; /* Adds a border with the color #6f6f6f */
    padding-bottom: 8px; /* Adds some space below the text */
  }
&lt;/style&gt;

&lt;div&gt;
  &lt;h3&gt;Battery Information:&lt;/h3&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;strong&gt;Battery Capacity:&lt;/strong&gt; 500 mAh (rated value)&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Theoretical Charging Duration:&lt;/strong&gt; Approx. 2 hours&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Typical Usage Scenario Battery Life:&lt;/strong&gt; Up to 20 days&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Battery Saver Mode Battery Life:&lt;/strong&gt; Up to 25 days&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Clock Mode Battery Life:&lt;/strong&gt; Up to 50 days&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Heavy Usage Scenario Battery Life:&lt;/strong&gt; Up to 9 days&lt;/li&gt;
  &lt;/ul&gt;

  &lt;h3&gt;GPS Accuracy and Power Saving:&lt;/h3&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;strong&gt;Accuracy GPS Mode Battery Life:&lt;/strong&gt; Up to 28 hours&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Automatic GPS Mode Battery Life:&lt;/strong&gt; Up to 46 hours&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Power Saving GPS Mode Battery Life:&lt;/strong&gt; Up to 58 hours&lt;/li&gt;
  &lt;/ul&gt;

  &lt;h3&gt;Charging:&lt;/h3&gt;
  &lt;ul&gt;
    &lt;li&gt;&lt;strong&gt;Charging Method:&lt;/strong&gt; Magnetic charging base&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
