Sample Video Frame
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.
Warm-up
- 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
index.html. - If you run Windows you can do this inside
PowerShellwith thestartcommand, as in:start index.html. Thestartcommand is similar to double-clicking the file with your mouse, and it works on any file, not just.html. - If you run OSX you can do this inside
Terminalwith theopencommand, as inopen index.html. - 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, typecd, 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 for The Pro-Webdev Mega Bundle
Register today for the course and get the all currently available videos and lessons, plus all future modules for no extra charge.