Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

What is the shortcut for commenting in HTML

Hey there, I really hate having to do the commenting in HTML, it takes forever, is there a shortcut on repl.it? Wherer I can just do something like <! (enter) or something else wherer it would make a comment for me?

2 years ago

Comments

TopNew
2
SameeraMurthy
SameeraMurthy

That is the only way. Unless..

<!-- --> is the only way to comment in HTML.

Unless you use JavaScript to replace specific stuff using regexp, (which means you can make your own way of commenting!)

Or, if you don't want to do that, you can do this trick in VScode or replit:
You can do ctrl + / to comment lines, or select the specific text you want to comment and press ctrl + /.

2 years ago
1
DavidJohn9
DavidJohn9

Your article is very good and very informative. I always follow your posts. You are an author that I love. Thank you for sharing! Let's continue to thrive! Intriguing intellectual puzzles at phrazle and weaver wordle always help me relax at the weekend. Let's play together!

5 months ago
1
Trebla-Wetam
Trebla-Wetam

Now they've changed the shortcuts so if you're on windows you sould use the shortcut ctrl++7 (control+shift+7 or control+/).
In mac you'd use instead of ctrl

9 months ago
1
huzyrysak
huzyrysak

Question here is about what are the short cuts for commenting in the HTML with the proper short sense. I can just do the something that is like the https://www.bestessaytips.com/write_my_essay/ that can comment the making with me that has posted about the 7 months ago with the comment section for people.

1 year ago
1
MunnaChaudhary
MunnaChaudhary

Download the complete solutions of class 12th NCERT physics solutions in free of cost.
https://fullncertsolutions.in/category/class-12-physics/

2 years ago
1
RYANTADIPARTHI
RYANTADIPARTHI

Solution

the only way you can comment is <!-- -->. But if you mean comment whatever you want quickly, the easiest way is to do cntrl + /. just highlight whatever code you want commented, and do cntrl + /.

like that.
That should work

2 years ago
1
Squirrel777
Squirrel777

Unfortunately, that is the only way that you can comment in HTML.

2 years ago
4
icodeletion
icodeletion

I don't think so, i think the only way is <!-- and -->

2 years ago
Load more