think of it this way:
php is a "behind the scenes" thing.
html is "the show"...
so, you can use php to print out your html... in other words:
Code: Select all
print "<html><body>hello world</body></html>";
will work for you...
php is just a very useful way to "generate" your html. say you want to read a file from somewhere, and put that in your website. you can't do that with html. but you can with php.
you need to learn some html, there is no substitute.
(btw, the html that you wanted would be something like
(where 'red' can be replaced with whatever color you chose [which must be recognized by html], and 'text' can be replaced with any text you want.)