Websites are basically a collection of files, linked to each other in various ways. Learn about naming conventions and review file management to ensure your projects run smoothly.
- [Instructor] The final project's HTML file…was named index.html for a reason.…For a website to be seen on the Web,…you need to upload your files to a Web server.…This server will automatically look…for an index file to show as the default page.…For example, to go to any website,…you only type websitename.com to land to the homepage.…Not website.com/index.html,…because it already knows to automatically…navigate to that page.…
You can have multiple HTML pages,…and name it whatever you want.…Just make sure the homepage is named index.html.…Let's go over some more tips to keep in mind,…when naming your files.…Number one, use lowercase letters.…Some servers are case-sensitive,…so this can result in an error if it's not consistent.…Don't use spaces or symbols, and use an underscore or dash…to separate words.…I prefer to use dashes, and as it turns out…dashes are also better for search engine optimization.…
Use concise and descriptive names,…which will also help with SEO and general organization.…These naming conventions aren't just for HTML files.…
- Creating a CSS file
- Writing basic selectors
- Setting properties
- Using different typefaces and web-safe fonts
- Understanding cascading and inheritance
- Setting a font family, font size, text color, and more
- Understanding the box model
- Using the float property
Skill Level Beginner
1. Getting Started
2. CSS Core
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.