<div id="test">零五网(www.02405.com)</div>

<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
//jquery添加元素class类名
$('#test').addClass("active");
//jquery删除元素class类名
$('#test').removeClass("active");
</script>

引申阅读:Javascript添加或删除Class类名

(adsbygoogle = window.adsbygoogle || []).push({});