From the course: HTML Essential Training
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Solution: Demo
(upbeat music) - [Christina] Let's go through the solution, starting with creating a new page. In the Explorer sidebar, click the file icon. Let's name this file contact.html, and make sure it's added to your personal site folder. Then we'll add the basic tags. Exclamation point, tab. Next, I'll copy the header and footer from one of the other pages and paste it into the contact page. For the page title, I'll copy it from the other page as well. I'll update the beginning part to Contact first, then paste in the rest of it. For the site navigation, start by adding the <nav> element as the first block of the content in the header. For the navigation links, use an unordered list, starting with a <ul> tag. Then add the <li> tag. Inside the list item, add an anchor tag for the link. I'll duplicate this line twice to create links for all three pages. The first link will go to the homepage. The href value will be index.html. All the HTML files are in the same directory, so we only need to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.