Copy code The code is as follows:<div id="name"> <script language=Javascript> var now = new Date() document.write(1900+now.getYear()+"-"+(now.getMonth()+1)+"-"+now.getDate()+" "+now.getHours()+":"+now.getMinutes()+":"+now.getSeconds()) </script> </div> Why use div? To choose the location to put it, for example, I put it in |
<<: Vue directives v-html and v-text
>>: Summary of the three stages of visual designer growth
Below, we introduce three ways to draw heart shap...
Recent projects involve the creation of a lot of ...
Table of contents MyISAM and InnoDB Reasons for p...
Table of contents 1. Test environment 1.1 Install...
Unicode is a character encoding scheme developed ...
Table of contents Preface cause Phenomenon why? A...
When you write buttons (input, button), you will f...
background During development, we may need some s...
What is Load Balancing Load balancing is mainly a...
Install Docker You have to install Docker, no fur...
illustrate In front-end development, you often en...
This status code provides information about the s...
When you first learn MySQL, you may not understan...
Table of contents Lazy Loading CSS styles: HTML p...
Here we introduce the knowledge about form elemen...