Site Management
How to name your files
lowercase
after first word, words can be capitalized (camelBack)
name file relevant to the page, especially for SEO
use dashes between words
keep the file name short
Root Directory
The root directory is the top level file that contains all of the sub directories inside.
File Structure
The index file should always be in the root directory. You can create sub folders to keep organized like an images file for images. all files should be able to be accessed from the root directory.
Absolute Paths
Absolute paths start at the root and end at the filename showing the entire path.
example : https://html-basics.com/site-management.html
Relative paths
Relative paths do not show the root directory
example : index.html
to enter a folder you use a backslash “/”
to exit a folder you use “../”
Take the quiz »