Thursday, November 15, 2012

Answers > How to Insert Non-Displaying Text in Xhtml Code?

How to Insert Non-Displaying Text in Xhtml Code?

by nForms on October 25, 2012

I know there is a way to write text into xhtml code in a certain way so it does not actually show up in the finished webpage. But for some reason, I cannot remember what the code tags are supposed to be.

For example, if I wanted to write notes to help me remember things in the code, but don't want them to show up.

Tags: , , , ,

Similar XForms | XML Posts

{ 1 comment… read it below or add one }

subexpression April 9, 2011 at 9:36 am

Hi Jeff,

If you simply want to make comments, use these tags:
<!– text which doesn’t show up –>

And, you can place large blocks of text in your page:
<!–
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus neque neque, pharetra quis fringilla a, commodo eleifend nisl. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Fusce neque diam, dapibus quis gravida at, auctor ut est.
–>

Best regards,

subexpression

Previous post:

Next post: