html url用JS中的window.location.href就可以获取到当前页面的地址如果想显示在某个地方的话你就<script type="textjavascript">document.write(2023-02-18html-css160