Home > front end >  How do you write HTML comments
How do you write HTML comments

Time:12-01

How do you write HTML comments? Is
 & lt; -! The comment -/& gt; 

?

CodePudding user response:

[img=https://img-bbs.csdn.net/upload/202005/09/1589028915_627751.jpeg]... [/img]

CodePudding user response:

 

General editor comments shortcut CTRL +/

CodePudding user response:

refer to the second floor ZionHH response:
 


General editor annotations shortcuts are CTRL +/

Have a shortcut?

CodePudding user response:

refer to the second floor ZionHH response:
 

.
General editor annotations shortcuts are CTRL +/

Thank you for your offer

CodePudding user response:

CodePudding user response:

CodePudding user response:

refer to 6th floor alone and wine with my colleague's reply:
& lt; ! - this is the content of the comments - & gt;


refer to 6th floor alone and wine with my colleague's reply:
& lt; ! - this is the content of the comments - & gt;


refer to 6th floor alone and wine with my colleague's reply:
& lt; ! - this is the content of the comments - & gt;


refer to 6th floor alone and wine with my colleague's reply:
I see


refer to 6th floor alone and wine with my colleague's reply:
& lt; ! - this is the content of the comments - & gt;

thank you

CodePudding user response:

 & lt; ! - this is a comment - & gt; 

CodePudding user response:

The comments in the HTML & lt; ! - this is the content of the comments - & gt;
The comments in the CSS/* this is the content of the comment */
Shortcuts are generally "CTRL +/", put the cursor on the line, press the keyboard shortcuts can be quickly comment its content

CodePudding user response:

The shortcut Ctrl +/

CodePudding user response:

CodePudding user response:

CodePudding user response:

Selected you to annotate content, shortcut Ctrl +/

CodePudding user response:

 & lt; ! - the comment & gt; The shortcut CTRL +/

CodePudding user response:

Shortcuts in Vscode: CTRL +?/key

CodePudding user response:

Ctrl +/

CodePudding user response:

The shortcut Ctrl +/

CodePudding user response:

In an HTML file comments is & lt; ! - the comment & gt;

Annotations in the CSS and js file is/* comment */content

CodePudding user response:

Keyboard shortcut: Ctrl +/
  • Related