0
How to attach CSS in HTML
It's quite opposed to handle
4 Réponses
+ 2
Solution 1
<html>
<head>
<style>your css...</style>
</head>
</html>
Solution 2
<html>
<head>
<link href="/path/to/css/file.css" rel="stylesheet">
</head>
</html>
0
Manav Roy is right, that inline technic is specially usefull if you have the (no) chance to work with an archaic software which doesn't provide a full access to HTML/CSS.
0
There are 3 ways to include CSS in html :
1) Internal CSS
2) External CSS
3 )Inline CSS
I would suggest you must use external CSS cuz our code is looking clearly. Hope this was helpful