+ 3

Which is right?

When linking css stylesheet... <link rel="stylesheet" type="text/css" href="css/style.css"> <link rel="stylesheet" type="text/css" href="css/style.css" /> <link rel="stylesheet" href="css/style.css"> Sometimes a forward slash is included at the end. Or sometimes type is left out.

28th Jun 2017, 11:45 AM
Karina
Karina - avatar
2 Answers
+ 4
In some tags the final slash is optional As in <link> <input> <br> <hr>
28th Jun 2017, 12:18 PM
⏩▶Clau◀âȘ
⏩▶Clau◀âȘ - avatar