If i use CSS on my website should i mix it with html as someone told me that makes the site look unprofesionall anyway advice?
Quick question
The purpose of css is to make your html look pretty! Of course you should use html with it!
try to put as all CSS or as much as possible in an external CSS file or in a style tag. In that way you will have a easier overview of the CSS and easier to change things. if you use inline CSS it will be hard to handle if it get too much. Another advantage to put it in an external file is that you can save bandwidth that way.
| coreymanshack wrote: |
| The purpose of css is to make your html look pretty! Of course you should use html with it! |
If you mean <html>, <body>, <h1> and tags like that you are right. But don't use <b> <center> or <i> tags, those should be done in the css file.
This way you can change the looks of your page by just changing the css file, and you won't have to do any html.
| drowningworld wrote: |
| If i use CSS on my website should i mix it with html as someone told me that makes the site look unprofesionall anyway advice? |
You probably meant CSS and HTML all in a single html file... yes it looks unprofessional... and is not at all developer friendly... you should keep the CSS separated, as Peterssidan said...
