Including a file

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.

## Contents

* 1 CSS in HTML
* 2 Javascript in HTML
* 3 PHP
* 4 Notes

## CSS in HTML[edit]

<link rel="stylesheet" type="text/css" href="class.css" />[1]

## Javascript in HTML[edit]

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

## PHP[edit]

include 'NiceScript.php';
include 'anything.html';

## Notes[edit]

1. ↑ Ways to include CSS in your page