", there can be no spaces on both sides of the angle brackets, and all characters must be English characters, and Chinese exclamation points, etc. cannot appear; the content of html comments is not displayed in the foreground, search The engine will not read the parsed content."/> ", there can be no spaces on both sides of the angle brackets, and all characters must be English characters, and Chinese exclamation points, etc. cannot appear; the content of html comments is not displayed in the foreground, search The engine will not read the parsed content.">

Home  >  Article  >  Web Front-end  >  What are the comment symbols in html

What are the comment symbols in html

藏色散人
藏色散人Original
2021-04-29 15:22:0514498browse

The comment symbol of html is "", there can be no spaces on both sides of the angle brackets, and all characters must be English characters, and Chinese exclamation marks, etc. cannot appear; html comments The content is not displayed in the foreground, and search engines will not read and parse the content.

What are the comment symbols in html

The operating environment of this article: Windows 7 system, HTML5 version, Dell G3 computer. The comment character of

html:

What are the comment symbols in html

html comment content is not displayed in the front desk, nor does the search engine. Will read the parsed content

Run the above code, you can see that there is no "hello word!! I have been commented" in the front desk

What are the comment symbols in html

It should be noted that , there can be no spaces on both sides of the angle brackets, and all characters are English characters, and Chinese exclamation marks cannot appear

For more detailed HTML/CSS knowledge, please visit html video tutorialcolumn!

The above is the detailed content of What are the comment symbols in html. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn