0

How to connect CSS with HTML without a separate file?

28th Jan 2017, 10:41 AM
Mister Twister
Mister Twister - avatar
4 Antworten
+ 1
Try to use Inline CSS . It is a good practise to use a separate CSS file to separate styles from data.
28th Jan 2017, 10:47 AM
Jidesh
+ 1
the common way are separate files, but you can use inline styles or write a style block in the header. for example: <head> <style> h1 {color:red;} p {color:blue;} </style> </head>
28th Jan 2017, 10:50 AM
R4xx4r
R4xx4r - avatar
+ 1
<!DOCTYPE html> <html> <head> <title></title> <style> CSS code </style> </head> <body> <!-- HTML code--> </body> </html>
31st Mar 2017, 2:26 PM
koder
koder  - avatar
0
How to make a built-in CSS file in HTML
28th Jan 2017, 11:11 AM
Mister Twister
Mister Twister - avatar