If I just want to add something invisible to an HTML document for testing purposes, what would you suggest? Maybe just an HTML comment that can be searched for? The purpose is to know what HTML document has been rendered.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A comment probably makes most sense.
You could also use a
<input type="hidden">form element, or any kind of element with adisplay: none, but that is rather ugly. This sounds like something a comment is suited perfectly for.