Unit 3: Day 6
START DATE:DUE DATE:STATUS:Open
Tasks
32.1 Theory of the Internet Lesson - IP Address and Domain Name Review
- Review that websites are hosted and discuss the relationship between a Host, the IP address and the Domain Name
- Use GoDaddy.com to demo:
- Try to buy your name as a ___.com domain name and note if it is available. What about your school’s name? What are the costs of similar domains?
- Look at the hosting prices and then discuss domain names available with a hosting package
- Discuss how domain names are often used as a tool in election campaigns.
- See this article for examples.
32.2 Theory of the Internet Assignment 2
- See doc in Shared Activities Folder
32.3 HTML Lesson 4
Div Example 2 - Using Margin
- Add to yesterday’s example the ability to center.
- margin-left: auto;
- margin-right: auto;
Div Example 3 - Using Class & ID Indicators
- Create a div that will serve as a navigation div.
- Link to a couple of pages within the site
- Play around with some new div styles:
- Demonstrate that using a width percentage for a DIV will mean the percentage of its container. That container can be the entire body of the page or another DIV.
- Experiment with some other Div styles such as box shadow settings
- background: linear-gradient(blue, white);
But now, how do we customize our divs?
- Add Class or ID selectors.
- ID Selectors - generally used for identifying single paragraphs or divs.
#para1 {
text-align: center;
color: red;
}
- Class Selectors - generally used for creating a classification of paragraphs or divs that you want to share a style>
.centeredParagraphs {
text-align: center;
color: red;
}
- You can also use p.center to only affect Paragraphs with the center class. This will become useful later when we do hover.
32.4 HTML Assignment 3
- Instructions for this assignment can be found in the folder: 1.5 - HTML & the Internet
- Band website part 2 (using Divs)
Continue to Unit 3: Day 7 »