jQuery вставьте после
$( "<p>Test</p>" ).insertAfter( ".inner" );
Annoying Albatross
$( "<p>Test</p>" ).insertAfter( ".inner" );
<div class="container">
<h2>Greetings</h2>
<div class="inner">Hello</div>
<div class="inner">Goodbye</div>
</div>
<script>$( "<p>Test</p>" ).insertAfter( ".inner" );</script>
<ul class="contact-details list list-icons">
<li><i class="far fa-dot-circle"></i> <strong>Address:</strong> <span> 1 accai avenue, s11dj</span></li> <li><i class="fab fa-whatsapp"></i> <strong>Phone:</strong> <span>01246541944</span></li> <li><i class="far fa-envelope"></i> <strong>Email:</strong> <span><a href="mailto:help@safetyplace.co.uk">help@safetyplace.co.uk</a></span></li> </ul>