adding css to php file
echo "<link rel='stylesheet' type='text/css' href='CSS/main.css'>";
adding css to php file
echo "<link rel='stylesheet' type='text/css' href='CSS/main.css'>";
how to use css in php example
<!DOCTYPE html>
<html>
<body>
<?php
echo "Welcome to Softhunt.net";
echo "<p style='color:red;'>This is a text in PHP echo.</p>";
?>
</body>
</html>
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>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us