| Syntax |
| <?php ?> |
| include 'filename'; |
| require 'filename'; |
| require_once 'filename'; |
| You will need to link to the file relative to the file that includes |
require_once('../includes/dbconn.inc'); |
| Iframe with Border. Just make all border measurements to 0 for no border |
| <iframe src="Put link here" style="border:2px #FFFFFF solid;" name="Frame Test" scrolling="yes" frameborder="1" marginheight="0px" marginwidth="0px" height="60px" width="468px"></iframe> |
| Iframe with Orange Border |
| <iframe src="Put Link Here" style="border:3px #ff8000 solid;" name="My Standard iFrame" scrolling="yes" frameborder="1" marginheight="2px" marginwidth="2px" height="15px" width="100px"></iframe> |
| Image Source |
| <img src="images/Imgscr.gif" alt="Img Scr Coode" height="15" width="400"> |
| Image Absolute Position |
| <IMG STYLE="position:absolute; TOP:35px; LEFT:170px; WIDTH:50px; HEIGHT:50px" SRC="circle.gif"> |
| PHP Coding Colour Coding |
| [color=blue]this text is blue[/color] |
| Java Copyright Auto Date |
| Copyright © <script language="javascript" type="text/javascript"> var today = new Date() var year = today.getFullYear() document.write(year) </script> Fair Go Mate. All rights reserved. |
| PHP Copyright Auto Date |
|
|
With Start Year |
|
| Hide This |
This example will hide that content for all the site visitors. But you can be more specific by using attributes.
|
| HTML Floating Imgae Code |
| <img src="https://www.tutorialspoint.com/green/images/logo.png" style="float:left" width="190" height="84" /> |
| <img src="https://www.tutorialspoint.com/green/images/logo.png" style="float:center" width="190" height="84" /> |
| <img src="https://www.tutorialspoint.com/green/images/logo.png" style="float:left" width="190" height="84" /> |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |
| 0 |