Gunakan CSS dalam Echo PHP dengan menggunakan Kutipan Ganda dan melarikan diri menggunakan backslash

<!DOCTYPE html>
<html>
<body>

<style>
.mycssquote{
	color: white;
    background: black;
    border:1px solid red;
    padding: 5px;
}
</style>

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

</body>
</html>
Unsightly Unicorn