1. List three reasons to use CSS on a web page.
Three reasons to use CSS on a web page are:
- Clean Source Code,
- Separation of Content and Presentation
- Consistency of Page Design
2. When designing a page that uses colors other than the default colors for text and background, explain why it is a good reason to configure both the text color and the background color.
It is a good reason to configure both the text color and the background color because the page will not be plain and to attract people to read the page.
3. Describe one advantage to using embedded styles instead of inline styles.
Both styles are great for quick fixes or prototyping but embedded styles is easier to cut out of the final prototype and put into an external file when templates are done.
Checkpoint 3.2
1. Describe a reason to use embedded styles. Explain where embedded styles are placed on a web page.
A reason to use embedded styles is it allows us to override the rules of an external style sheet. Embedded styles are set in the HEAD section of your web page.
2. Describe a reason to use external styles. Explain where external styles are placed and how web pages indicate that they are using external styles.
A reason to use external styles is that it can change that one external file, and have that change reflected on every page of your site that links to the external CSS file. Any or all methods of implementing CSS can be used on the same page. An external style is simply a link placed in the HEAD section of your web page to a separate file containing your style rules.
3. Write the code to configure a web page to associate with an external style sheet called mystyles.css.
body {
background-color: lightblue;
}
h1 {
color: navy;
margin-left: 20px;
}
It is imperative that we read blog post very carefully. I am already done it and find that this post is really amazing.
ReplyDeleteIt is imperative that we read blog post very carefully. I am already done it and find that this post is really amazing.
Really good post, this will help me a lot in the future...
ReplyDeletetop web development agency | affordable search engine optimization company
Im no expert, but I believe you just made an excellent point. You certainly fully understand what youre speaking about, and I can truly get behind that. website marketing
ReplyDeleteCool stuff you have got and you keep update all of us.
ReplyDeleteweb design namibia