Nowadays, many websites use the effect of returning to the top. Of course, if you are lazy, you can also directly link a link to #, which can also achieve the effect. I took the time to write one using native javascript today. Due to my limited skills, please point out any questions.
html code:
"Notepad" is A basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.
Notepad is a basic text editor for creating simple documents. Notepad is most commonly used to view or edit text (.txt) files, but many users find Notepad to be a simple tool for creating web pages.
Because Notepad only supports very basic formats, you can't occasionally save special formatting in documents that need to remain plain text. It is particularly useful when creating HTML documents for web pages, because special characters or other formatting cannot be displayed on published web pages or may cause errors.
Notepad files can be saved as Unicode, ANSI, UTF-8, or big-endian Unicode format. These formats provide you with greater flexibility when working with documents in different character sets.