You are currently browsing the page Document relationship in the HTML category.

Document relationship

If you are using the same style for a lots of page, it's better to create an external stylesheet then to link it to all these pages. It's simple, create a file.css then paste your CSS inside it. Then, paste this code between the head tags.

<link href="file.css" rel="stylesheet" type="text/css"> It's the same for javascripts, when the code is very long, you can copy it, then save it in a .js file and attach it! Just insert this code where you want.

<script language="javascript" src="javascript-url.js"></script>

Print This Post Print This Post



Sponsors


Leave a Comment

Works? Doesn't work? Other tips? Please leave a comment! :)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

To post codes, please go to SimpleCode and transform your codes first, so that it will displayed properly. Indeed, < and > need to be converted to &lt; and &gt; :)


Close
E-mail It