How to make colorful syntax displayed?

Hi is there anyway of making colorful syntax being displayed on the site? without having it executing the php code?
LVL 5
eNarcAsked:
Who is Participating?
 
wellholeCommented:
I wish I could understand what "colorful syntax" means. If you're asking about colors, there are a multitude of ways to change text color. The very simplest way would be to add "style" to the html tags.

<p style="color:red">this is my first paragraph</p>
0
 
crash36936Commented:
0
 
eNarcAuthor Commented:
hi wellhole, yea colorful syntex is this below :)
<?php
  echo("link.php");
  phpinfo();
?>

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.