+ 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
27 Réponses
+ 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>
+ 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)
+ 7
I suggest u to do the HTML and CSS then JavaScript
+ 6
Dennis Malusi what's ur program?
+ 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.
+ 5
Yes mind of...
+ 5
Yes
+ 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.
+ 4
Derrick Afful also look at the answer by visph .
+ 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">
+ 3
so without html i cant use css
+ 3
Please do the tutorials here on html and css to learn how to use them.
+ 3
yeah i know but am kinda confused with the css and html
+ 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
+ 3
visph so when i insert the <style> to the html does that mean am combining both html and css
+ 3
I also confused but I had completed html, then CSS and now I am completing JavaScript..
+ 3
Dennis Malusi what is your program?
+ 2
🇮🇷🇮🇷🇮🇷🇮🇷🇮🇷🇮🇷
+ 2
Yes mind of
+ 2
How,can i code my program to run