I am beginning to make a webisite. I know CSS and HTML but I was wondering should I start out with the CSS or the HTML document. Like should I do my CSS sheet first or my HTML document?
Use HTML 4.01 Markup with a Strict Doctype (avoid XHTML) Use semantic Markup Use lowercase for Markup elements/attributes Avoid using Tables for page Layout as much as possible Use UTF-8 Character encoding Include ALT text for all images Validate the Markup to enhance Interoperability Use CSS for layout parameters Validate the CSS James
you can start with the CSS but you need to know how your pages will look. If you are not experianced enough then start with HTML. But once you have added the CSS the next page you can reuse the CSS if done correctly. So on the 2nd page you do start with the CSS (cause it was already created).
When I'm coding a site from scratch, I use inline css, e.g <div style="blablabla"> And then once it's all done, I consolidate the inline styles into a .css file.