+ 5

How to connect css code with html 5?

How to connect css code with html 5? please give me a suitable example.

2nd Dec 2017, 7:35 AM
Mushtaq Ahmad Jan
Mushtaq Ahmad Jan - avatar
12 odpowiedzi
+ 3
CSS have 3 type: 1. inline CSS: <p style="color:red;"> This is an inline example. </p> 2. internal (embedded) CSS: <html> <head> <style> p{ color:red; } </style> </head> <body> <p>This is an internal example.</p> </body> </html> 3. External CSS: (htmlFile1.html) <html> <head> <link rel="stylesheet" href="example.css"> </head> <body> <p>This is an external example.</p> </body> </html> (example.css) p{ color:red; }
2nd Dec 2017, 8:18 AM
Marcus Loh
Marcus Loh - avatar
+ 7
you may have 3 types to connect the both 1.inline 2.internal 3.external
2nd Dec 2017, 7:40 AM
SRI=77@SAT
SRI=77@SAT - avatar
+ 6
Go through the tutorials on html and css and everything will become understandable.
2nd Dec 2017, 7:41 AM
noname
noname - avatar
+ 6
Perhaps you need information from this post at the initial stage of training. https://www.sololearn.com/discuss/609156/?ref=app
2nd Dec 2017, 8:03 AM
noname
noname - avatar
+ 5
can any one give me suitable example
2nd Dec 2017, 7:44 AM
Mushtaq Ahmad Jan
Mushtaq Ahmad Jan - avatar
+ 5
<style> background-color: red; </style> or <link href="style.css">
2nd Dec 2017, 7:46 AM
noname
noname - avatar
+ 3
Start your CSS course.
2nd Dec 2017, 7:44 AM
Calviղ
Calviղ - avatar
+ 3
thanks Marcos
2nd Dec 2017, 9:47 AM
Mushtaq Ahmad Jan
Mushtaq Ahmad Jan - avatar
+ 2
HTML is not a programming, so there is no such thing as HTML accesses CSS.
2nd Dec 2017, 7:38 AM
Calviղ
Calviղ - avatar
+ 2
Welcome Mushtaq, hopefully you master it soon... 😉 I also just start learning CSS
2nd Dec 2017, 2:29 PM
Marcus Loh
Marcus Loh - avatar
+ 2
<link rel="stylesheet" href="style. Css" >
19th Jan 2018, 1:56 PM
Santosh Kumar
Santosh Kumar - avatar
+ 1
?
2nd Dec 2017, 7:35 AM
Mushtaq Ahmad Jan
Mushtaq Ahmad Jan - avatar