I am in the process of crafting a website using XHTML Strict markup. Within the HTML code, I intend to incorporate a JavaScript script:
<script type="text/javascript">
$(document).ready(function () { $('#nav li#nav-strona-glowna').append('<a href="/platinium/" class="hover active"><span>Strona glowna</span></a>');
</script>
Regrettably, my XHTML no longer complies with standards due to an "<" tag within this script. How can I ensure XHTML validation without eliminating it?