hzyhx

在<footer></footer>中添加,如下:

1 <footer>
2     <!--&copy;是@的转义符,网站https://dev.w3.org/html5/html-author/charref
3         2014-<script>document.write((new Date())</script> 时间,2014是固定的年份,
4         <script>document.write((new Date())</script>获取现在年份 
5          Date知识网站:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date -->
6          <p style="text-align:center;">Copyright &copy; 2014-<script>document.write((new Date())</script> </p>
7     </footer>

 

分类:

技术点:

相关文章:

  • 2021-09-29
  • 2022-12-23
  • 2022-01-21
  • 2022-01-08
  • 2021-10-07
  • 2021-11-18
  • 2022-12-23
  • 2021-09-09
猜你喜欢
  • 2021-09-30
  • 2021-09-12
  • 2021-09-04
  • 2022-01-06
  • 2021-10-31
  • 2022-02-26
  • 2021-08-26
相关资源
相似解决方案