Table of Contents
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Including a file

From Conservapedia - Reading time: 1 min


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[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

Licensed under CC BY-SA 3.0 | Source: https://www.conservapedia.com/Including_a_file
11 views | Status: cached on March 09 2023 03:46:22
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF