02: Tags in Detail
I'll cover the different types of tags in the html5 specification and then explain which ones you do or don't normally use.
- Take the file you created in Exercise 01 and view it in your browser.
- Remember that you can open the directory that holds the file and double-click the
- If you run Windows you can do this inside
startcommand, as in:
start index.html. The
startcommand is similar to double-clicking the file with your mouse, and it works on any file, not just
- If you run OSX you can do this inside
opencommand, as in
- Remember, nothing works in the Terminal if you don't know how to
cdto the directory with the file. If you're confused about where your files are then find them graphically, type
cd, and then drag the file onto your terminal with the mouse. This will "paste" the file's full path into your terminal so you know where it is.
- Always remember to add spaces after your commands. If you type
cdC:\Usersthen that's wrong. It'skindoflikeyoutypedasentencelikethis.
- Finally, how many different ways can you open this file? Can you open it in your editor from the command line? Can you open it in the browser from your editor?
Register today for the Beginner Basics course and get the new releases by just paying the difference. There's also special discounts for existing customers when new courses are released.
Still Not Sure? Check out more curriculum!