As a beginner in the world of html and css, I am reaching out for some assistance. My question is regarding how to remove the ol tags that contain 3 li elements without any class or id.
Here is an example:
<div class="text">
<ol>
<li>1</li>
<li>2</li>
<li>3</li>
</ol>
<ol>
<li>1</li>
<li>2</li>
</ol>
</div>
The desired outcome would be:
<div class="text">
<ol>
<li>1</li>
<li>2</li>
</ol>
</div>
Your help is greatly appreciated!