Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use css in php example

<!DOCTYPE html>
<html>
<body>

<style>
.mycss{
	color: white;
    border:1px solid #000;
    background: black;
    padding: 10px;
}
</style>

<?php
echo "Welcome to Softhunt.net";
echo "<p class='mycss'>This is a text in PHP echo.</p>";
?>

</body>
</html>
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #css #php
ADD COMMENT
Topic
Name
7+3 =