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

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -