0

Can I use CSS inside html?

5th Sep 2020, 10:32 AM
Saim Hasan
3 Answers
+ 8
Saim Hasan Yes it can! By - Inline - use the style attribute inside HTML elements Internal - by using a <style> element in the <head> section External - by using a <link> element to link to an external CSS file Hope this helps✌
5th Sep 2020, 10:35 AM
Piyush
Piyush - avatar
+ 2
Yes ( Inside the style tag)
5th Sep 2020, 1:46 PM
Mahmud Oyshik
Mahmud Oyshik - avatar
+ 1
Yes you can. You can completely write a web page using HTML, but i recommend not to do that. You will get better result if you stylize your page using external css. There are so much reasons. If you want to use CSS inside your HTML file, just do what Saim Hasan said. Also there are useful explanations in HTML and CSS courses here in SL.
5th Sep 2020, 11:23 AM
Mosi B.
Mosi B. - avatar