0
How to add a css program when creating a html program using notepad ?
Is it possible to add css usin note pad .or any other text editor.
2 Answers
+ 4
Yes it is possible while using notepad. Add <style> block under <head> block and define strain style definitions as needed. (Embedded style limited to the page on which it is defined)
<head>
<style>
body {
background:beige;
}
....
</style>
</head>
Alternatively create a separate .css file using in your case notepad and link it with <link> tag under <head> block. (External independent style sheet that could be shared among pages)
<head>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
+ 1
ok