css - Why isnt my HTML code rendering? -


i'm using notepad ++ , when try open code in chrome shows literal css code.

<!doctype html> <html> <head> <link rel="stylesheet" type="text/css" href="test.css" </head> <title>test<title> <body> <p>red</p> <div class="test1"> </body> </html> 

<!doctype html>  <html>  <head>    <link rel="stylesheet" type="text/css" href="test.css">    <title>test<title>  </head>  <body>    <p>red</p>    <div class="test1"></div>  </body>  </html>

you need close div, close stylesheet reference, , move title header.


Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -