|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
i want to connect the java script and .css file with my html file,
i don't know how to connect it, and one more thing is after connection how can i call function which is in .js or in .css files, thnx |
|
#2
|
|||
|
|||
|
Use javascript and css files
To use javascript, use the following in the <head> section of the html file
<script language="javascript" src="bbb.js" ></script> In the js file, do not write the script tag in the beginning. To call the function, simply call the way u do when the function is present in the html file itself. Similarly, to use css file, use the following: <LINK REL="stylesheet" HREF="Buttons.css" type="text/css"> |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > how can i connect javascipt with html..? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|