0
particleShape1.incandescencePP=<<rand(0.8.1),rand(0,0.5),rand(0,0.5);  #rands are r,g,b, 1=100%.

I wanted the above line to read as is in a html document. Right now without any tags part of it disappears completely. Any ideas how I can get this to stay visible with the formatting I have on the document? Thanks!

2 Answers 2

1

You need to use pre tags:

<pre> particleShape1.incandescencePP=<<rand(0.8.1),rand(0,0.5),rand(0,0.5); #rands are r,g,b, 1=100%. </pre>

...replacing any < with &lt; because they are still parsed with pre tags:

<pre> particleShape1.incandescencePP=&lt;&lt;rand(0.8.1),rand(0,0.5),rand(0,0.5); #rands are r,g,b, 1=100%. </pre>

http://jsfiddle.net/JDQRG/

Sign up to request clarification or add additional context in comments.

Comments

1

Ever heard of pre tag. docs

It is used to show code inside html document.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.