How can I properly add CSS and JavaScript to an HTML document? -


this might very stupid question.

i'm trying add empty css file, empty javascript file , jquery library basic of html files, follows:

<html> <head>   <title>testing</title>   <link rel="stylesheet" type="text/css" href="theme.css">   <script language="javascript" type="text/javascript" src="jquery-2.0.3.js" />   <script src="application.js" /> </head> <body>   <h1 class=test>this test! hello, world!</h1> </body> </html> 

however, doesn't work. h1 doesn't display in browser when link or of scripts present, displays otherwise.

what doing wrong here? why doesn't work, , how can make work?

thank much,

eden.

your <script> tags cannot self closing. try changing them <script src="..." type="text/javascript"></script>


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -