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

  li:nth-child(6) {
    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; 370mAh (rated value)&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Charging Method:&lt;/strong&gt; Magnetic charging&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 16 days&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Battery Saver Mode Battery Life:&lt;/strong&gt; Up to 24 days&lt;/li&gt;
    &lt;li&gt;&lt;strong&gt;Heavy Usage Scenario Battery Life:&lt;/strong&gt; Up to 10 days&lt;/li&gt;
    &lt;li&gt;&lt;stro
