In this short time you learned how to take what you’re learning on Codecademy and use it on your own personal computer. Click on your web page file and then click Open. Navigate to the location you saved your web page. Now you’re ready to view your new page in your browser! First, open up your browser. Step 4: Open Your Web Page in Your Browser If you saved it already but you don’t remember where, just click File > Save As., choose a new location to save, and be sure to remember this time. The most important thing when selecting the location to save to is to remember where you saved it. If you do create a new folder, use the same naming conventions outlined above in order to minimize future headaches. It’s good practice to create a new folder to house this web page. Decide where in your computer you will save the fileĪfter choosing a file name, select an appropriate location in your file system to save your web page. File names should be kept simple and should follow conventions in order to make navigating to your web page more reliable. The browser needs to locate the file based on its name, and special characters within the file name can interrupt that process. Leave out percent signs, slashes, question marks, exclamation points, commas, and other “special characters”. Use underscores ( _) or dashes ( -) instead of spaces. When choosing a file name, keep it simple. Don’t use any spaces or special characters in the file name htm, but this archaic and no longer used. Note that on older web pages you may see. html, and it tells the browser (and other applications) to interpret the contents of the file as a web page. The file extension is always the last 3 or 4 characters in a filename, preceded by a period. Decide where in your computer you will save the file, and make sure to remember the location!Ī file extension is the suffix of a file name, and describes the type of the file.
Use underscores (_) or dashes (-) instead.
The browser reads all the necessary files (HTML, CSS, and JavaScript) and interprets those raw resources to paint the complex page you see. When you navigate to a web page on the Internet, the browser is doing a lot of work.
Completed Unit 1 of Codecademy’s Learn HTML & CSS course.Create and View a Web Page on Your Computer Requirements: