Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Now to create our HTML containers, we're going to open up the index.html file in the myWebsite folder up in your chosen text editor. Now inside here, we have just a standard HTML document. We have the declaration here at the top. We have our HTML tag, which contains everything inside of the document. Then we have the heading area and then the body area. So for right now, we're going to focus on inside of the body area. Select this comment here that says "content goes here," delete that, and now let's create the containers for our layout.
We're going to start by creating a div tag. We're going to set a class="page." Let's end that tag and then end the div. Let's split this open. This is going to be the main page container. Now inside here, we're going to create the individual containers to hold the content. We're going to start by creating a header element. This is an HTML5 element. Let's hit a few returns. Let's add an article element. That's another HTML5 element. Let's hit a few returns.
Next, we're going to create a div that's going to be our promo container. So type div. Let's set a class of promo_ container and the tag and the div. A few more returns. Another HTML5 element called nav. Let's end that tag. And then finally, one more element called footer. So right now, the HTML5 elements here are header, article, nav, and footer.
And then here we have the standard div, with the class of promo_container. Now that we have our outermost containers created, next we'll create the individual containers for each promo inside of the promo_container div.
Get unlimited access to all courses for just $25/month.Become a member
117 Video lessons · 42688 Viewers
119 Video lessons · 54049 Viewers
65 Video lessons · 14364 Viewers
113 Video lessons · 82839 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.