html5 - Cannot link CSS and HTML file in NetBeans -




beginning learn html , css project, however, cannot life of me css file , html file link in netbeans. in same folder!

index.html:

<!doctype html> <html>   <head>     <link rel="stylesheet" href="test.css" type="text/css"/>     <title>view products</title>     </head>     <body>         <nav>             <ul>                 <li> home </li>                 <li> quantity purchase </li>                 <li> html test </li>             </ul>            </nav>         <div>             <h1> view products </h1>         </div>     </body> 

test.css:

body {     background-color: powderblue; } h1 {     color: blue; } 

any appreciated,

cheers

after frustration found out in server class (using jooby) have forgotten include assets("/**"), thank took time read post!





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -