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

  /* Add border only under the specific &lt;li&gt; */
  li:nth-child(11) { /* This targets the 11th &lt;li&gt; (the one with MIL-STD 810H text) */
    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;ul&gt;
  &lt;li&gt;Dual speakers&lt;/li&gt;
  &lt;li&gt;Three-microphone array&lt;/li&gt;
  &lt;li&gt;Emergency SOS&lt;/li&gt;
  &lt;li&gt;International emergency calling&lt;/li&gt;
  &lt;li&gt;Siren&lt;/li&gt;
  &lt;li&gt;Crash Detection&lt;/li&gt;
  &lt;li&gt;Fall Detection&lt;/li&gt;
  &lt;li&gt;Water resistance 100m&lt;/li&gt;
  &lt;li&gt;Dust resistance IP6X&lt;/li&gt;
  &lt;li&gt;EN13319 recreational scuba diving to 40m&lt;/li&gt;
  &lt;li&gt;Tested to MIL-STD 810H: altitude, high temperature, low temperature, temperature shock, immersion, freeze with thaw, ice and freezing rain, and shock and vibration&lt;/li&gt;
&lt;/ul&gt;
