HTML how do I insert dynamic date in webpage

前端 未结 8 2109
暖寄归人
暖寄归人 2021-01-05 14:40

I have a static webpage, nothing changes dynamically. However the client wants a date insert into text within the page. The date will always be the current daet plus one day

8条回答
  •  萌比男神i
    2021-01-05 15:28

    You could use javascript to insert the date somewhere in the page:

    
    

    and the html:

    
    

    test it here: http://jsfiddle.net/9xWUT/

提交回复
热议问题