How may comments be inserted into HTML code without being seen by the browser?
How may comments be inserted into HTML code without being seen by the browser?
Using the comment tag, you can insert comments in the source code. A browser does not display comments.
<!--This is a comment. Comments are not displayed in the browser-->
<p>This is a paragraph.</p>
What is the easiest way to hide comment section from blog/website, I am asking this because I have too many visitors on my site and also comments on it which I hide from my site backend but it is too much to handle them via frontend, So I want to disable whole section of comment from my specific website page.
How can I do this thanks.
Hi there jakedone,
Are you really sure thay your page is plagued by visitor comments
or are you just slyly spammiing this forum?
When I checked out the link to yout site I found that the most
recent comment was one year ago and the second was three
years ago !
coothead
~ the original bald headed old fart ~
Jakedone, I removed your link. If you have a question, please start a thread. Try to be as detailed as you can and post the relevant code and we will try to help.
To choose the lesser of two evils is still to choose evil. My personal site
You are also right the comments on my site are too old because new comments I am hiding from my site backend and I think I also mentioned this in my previous post.
Hi My most respected seniors,
I don't mean to hijack or spam on this thread I just want to participate as a normal member of this forum and I am also sorry for the inconvenience ):
Thank you for explaining Jackdone and for reaching out to me. The most important thing is that we now know you are not a spammer.
As far as thread hijacking there are two options. I can split this thread and turn it into a new thread or a better option is for you to start a new thread where you can more thoroughly ask your question and I can reverse the infraction.
Here are a few questions you can answer in the new thread that can better help us understand the issue:
What code are you using?
What programs if any are you using?
Can you post the relevant code you are working on?
Can you describe how you want to handle commenters?
To choose the lesser of two evils is still to choose evil. My personal site
coothead (01-01-2023)
HTML <!--...--> Tag
In the source code, comments are inserted with the comment tag. Browsers do not display comments.https://html.com/tags/comment-tag/
Bookmarks