Norman Posted January 25, 2007 Share Posted January 25, 2007 Hi, I've a noob question. I'm studying now CSS, and I want know if I can use an external file like CSS, and add some internal-CSS lines in my HTML file. So, both. Thanks in advance. Best regards,Norman. Link to comment Share on other sites More sharing options...
smiles Posted January 25, 2007 Share Posted January 25, 2007 yeah, that 's no problemyou can have external CSS and internal CSS for an HTML file, but internal CSS is the first choice then is external CSS Link to comment Share on other sites More sharing options...
vchris Posted January 25, 2007 Share Posted January 25, 2007 What's the point of having css in an external file and in your html code. It just makes it confusing. I would recommend only having css in one location. Either in your html or external file. Link to comment Share on other sites More sharing options...
Norman Posted January 25, 2007 Author Share Posted January 25, 2007 Thanks for your reply, smiles. but internal CSS is the first choice then is external CSSWhat do you mean with this? Link to comment Share on other sites More sharing options...
smiles Posted January 25, 2007 Share Posted January 25, 2007 CSS is short for cascade stylesheet, it means which one browser reads the second , browser will do it for exampleyour external CSS has a code body{ background-color : #123456}your internal CSS has a code body{background-color : #567890}browser read the external CSS first then read internal CSS , it will do the second Link to comment Share on other sites More sharing options...
Norman Posted January 25, 2007 Author Share Posted January 25, 2007 What's the point of having css in an external file and in your html code. It just makes it confusing. I would recommend only having css in one location. Either in your html or external file. Yes, I know this. Mine was just a question for knowledge. CSS is short for cascade stylesheet, it means which one browser reads the second , browser will do it for exampleyour external CSS has a code body{ background-color : #123456}your internal CSS has a code body{background-color : #567890}browser read the external CSS first then read internal CSS , it will do the second Ah, ok, now I've understand what you meant. Sorry but my english isn't so good! Thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now