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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -