Changes

Jump to navigation Jump to search
515 bytes added ,  19:47, August 28, 2010
Got tired of looking these up over and over
'''Including a file''' in source code is a very common practice, especially in web page design. However, there are so many ways to do this, that it can be hard for the beginner to keep track.

==CSS in HTML==

<link rel="stylesheet" type="text/css" href="class.css" /><ref> [http://www.webstartcenter.com/howto/css_inc.php Ways to include CSS in your page]</ref>

==Javascript in HTML==

<script src="myscript.js"></script>

==PHP==

include 'NiceScript.php';<br />
include 'anything.html'

==Notes==
<references />
Siteadmin, Check users, nsTeam1RO, nsTeam1RW, nsTeam1_talkRO, nsTeam1_talkRW, oversight, Administrators
30,650

edits

Navigation menu