Select the line of html code to be commented, click [Edit] in the notepad menu bar; select [Comment/Uncomment] in the pop-up drop-down menu, select [Add] /Delete single line comment] or use the shortcut key [Ctrl Q] to complete the comment.(Recommended learning:notepad use)
Final effect:
The above is the detailed content of How to comment out a line of html code in notepad. For more information, please follow other related articles on the PHP Chinese website!