web development lesson 34 styling php output using CSS

As you can see, as long as you stay outside of the PHP tags, you may use any HTML you want in your PHP code without doing anything special. To put it another way, you can place PHP code wherever in an HTML file (as long as it's within the PHP tags).
You can apply css styling to a php-generated page in the same way that you would to an html page. Normally, in the head section, you would link to a style sheet or put the styling in style tags.
Web design
Be the first to comment