Including A File

From Conservapedia

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

Categories: [Computer tips]


Download as ZWI file | Last modified: 03/09/2023 03:50:24 | 5 views
☰ Source: https://www.conservapedia.com/Including_a_file | License: CC BY-SA 3.0

ZWI signed:
  Encycloreader by the Knowledge Standards Foundation (KSF) ✓[what is this?]