+ 6

HTML and css

Can I use css without html And also how can I use html and css Someone should help me out Gaurav Agrawal

1st Feb 2021, 2:04 AM
Derrick Afful
Derrick Afful - avatar
27 Answers
+ 14
Before that you must know that CSS is are of three types - Inline CSS Internal CSS External CSS ◇◇◇◇◇◇◇ We use Inline CSS in lines like if we are giving an video you must put its width height like this <video width=100px;> this is inline css Otherwise you use the <style> tag to add css this is internal CSS The last one is External CSS ....in this you link a CSS file like <link href= style.css>
1st Feb 2021, 3:47 AM
Arnav..
Arnav.. - avatar
+ 10
yes, when you insert <style> in html, you're combining html and css (you're applying style defined by css language in the tag content)
1st Feb 2021, 2:18 AM
visph
visph - avatar
+ 7
I suggest u to do the HTML and CSS then JavaScript
1st Feb 2021, 4:39 AM
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ - avatar
+ 6
Dennis Malusi what's ur program?
2nd Feb 2021, 8:33 PM
devfemibadmus
devfemibadmus - avatar
+ 5
yes, you can use css without html: with any document supporting css, such as svg; but alone, css will lacks a target document to be styled... you can use css with html either by inserting css code as <style> tag(s) content, or by linking external file(s) with <link> tag.
1st Feb 2021, 2:10 AM
visph
visph - avatar
+ 5
Yes mind of...
1st Feb 2021, 4:38 AM
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ
•Đคяк รтяεคм 𝅘𝅥𝅮 ᴺ•ᵀ•ᴬˢᵘʳᵃᵖᵖᵘˡᶦ - avatar
+ 5
Yes
2nd Feb 2021, 9:02 AM
💕Sophia's World💞(소피아)
💕Sophia's World💞(소피아) - avatar
+ 4
You can't use CSS without html as far as I know but I have come across CSS like syntax in other layout/styling areas outside html web pages as in the QT library.
1st Feb 2021, 2:11 AM
Sonic
Sonic - avatar
+ 4
Derrick Afful also look at the answer by visph .
1st Feb 2021, 2:14 AM
Sonic
Sonic - avatar
+ 4
CSS can be used without HTML. There are many CSS-in-JS libraries. CSS is used to style the view in React Native, a mobile app development framework. CSS can be used with HTML in 3 ways. 1. Inline styling using the global style attribute. <p style="color: teal">Paragraph One</p> 2. As an HTML tag. <style> p:first-of-type { color: teal } </style> 3. An an external file <!--In <head> section of HTML --> <link rel="stylesheet" href="/path/to/external/file.css">
2nd Feb 2021, 5:18 PM
Ore
Ore - avatar
+ 3
so without html i cant use css
1st Feb 2021, 2:11 AM
Derrick Afful
Derrick Afful - avatar
+ 3
Please do the tutorials here on html and css to learn how to use them.
1st Feb 2021, 2:11 AM
Sonic
Sonic - avatar
+ 3
yeah i know but am kinda confused with the css and html
1st Feb 2021, 2:12 AM
Derrick Afful
Derrick Afful - avatar
+ 3
Sonic am finding some difficulties with me activating my out please do text me on my email affulderrick51@gmail.com so i get more info on css
1st Feb 2021, 2:14 AM
Derrick Afful
Derrick Afful - avatar
+ 3
visph so when i insert the <style> to the html does that mean am combining both html and css
1st Feb 2021, 2:16 AM
Derrick Afful
Derrick Afful - avatar
+ 3
I also confused but I had completed html, then CSS and now I am completing JavaScript..
2nd Feb 2021, 1:34 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
+ 3
Dennis Malusi what is your program?
2nd Feb 2021, 6:04 PM
Sonic
Sonic - avatar
+ 2
🇮🇷🇮🇷🇮🇷🇮🇷🇮🇷🇮🇷
2nd Feb 2021, 6:35 AM
YASHAR GHASEMI
YASHAR GHASEMI - avatar
+ 2
Yes mind of
2nd Feb 2021, 12:05 PM
Ramswaroop Kushwaha
Ramswaroop Kushwaha - avatar
+ 2
How,can i code my program to run
2nd Feb 2021, 1:22 PM
Dennis Malusi
Dennis Malusi - avatar