PHP with HTML, CSS, and JavaScript

This is a great example of how to get PHP, HTML, CSS, and JavaScript working together beautifully.


     * Featured Code Example Created and submitted by Biel Blue via Sololearn.




<HEAD>
<style>
body{
background-color:#33ff99;
}
h1{
     margin-top:20px;
     border: dashed 10px #3f3;
     border-radius:15px;
     background-color: #3f3;
}
p{
     background-color: #ccff00;
     font-size:18pt;
     padding:10px;
     border: solid #ddff00 1px;
     border-radius: 15px;
      }
div{
     background-color:#33aaff;
     padding:10px;
     font-size:18pt;
     font-weight:700;
     border: solid 1px #33aaff;
     border-radius: 15px;
}
</style>
</head>
<!-- HTML -->
<body align="center">
<h1> HTML && CSS
</h1>
<script> document.write("<p><i>Javascript</i></p>");
</script>
</body>
<?php
  
   echo "<div>PHP</div>";
?>

Click here to see this code run



More Free Code Examples:


Hello World in 10 Programming Languages


Java Current Time and Date Program


Angular Click Counter





Comments

Post a Comment

Popular posts from this blog

Crypto Mining

Multi-tap Keypad Text Entry