+ 2
How to combine css and html file total ?
self learning
5 Respuestas
+ 7
There are three ways actually:
1) By using the style attribute for each element (not recommended)
2) By adding the style tag in the head section and then writing the styling in it
3) By making a separate file for css and linking it to the main file.
Other than that you can add something like CDN in link tag.
+ 4
@christopher mwaniki
Greetings! The advertisement of external links is considered spam. Would you please remove
your link? Failure to do so will result in a block on
your account.
+ 2
inline by using <style> tag in html file
external by using <link rel='stylesheet' type='text/css' href='path/stylesheet.css'/>
+ 1
<link rel="stylesheet"type="text/css"href"style.css"/>
+ 1
so does both work