Hi,
I am new with the "CSS" and i will like to know to structure well my files.
I have create folders: 1.-Website 2.- CssFiles insite the Website 3.-Images folder inside the Website, my question his where do i put my index.html, is that one go inside the "Cssfiles folder" ?? or do i have to create a folder for all my html .
Thank,
Renata
Create Files
index.html will go in your "document" root, that way the webserver will know where to find it.
e.g.
"www.mysite.com"
/ index.html otherpage.html /css - mystyles.css /images - mylogo.gif - mybackgroundimage.gif - myroundedcorners.gif /js - myjavascript.js
assuming your webserver has a typical setup, when someone puts "www.mysite.com" into their web browser they will get your index.html page.
Create files
If i understand well, you mean i will have 4 folders:
index.html, css, images, js
Sorry it mind look stupid but i am very beginner's
Thank
Create Files
As Chris has said your index.file lives in the top most public directory, on an Apache server you will see this as a folder commonly called public_html sitting in your root folder, it is in this folder that all your pages and related files and folders must live anything outside of this folder, above it so to speak is not granted public access and remains private.
In the public_html folder you can create a folder structure to suit your pages as chris has shown it's common to keep all script files in their own folder and likewise all image files in their own folder.
Ref: your last post; index.html is not a folder it will be a single file living in the public_html folder your other folders will be created in the same public_html folder any links in your index.html to say images would reference them thus: <img src="images/image.gif"> likewise for scripts.
Renata, I'm moving this thread to the 'Off Topic' section as this is not really a question that relates to the forum main topic, that of CSS coding,but feel free to keep asking questions om anything you don't understand, there are plenty of people who can help out here.
Hugo.