Assignment
Question 1
Explain the benefit and the position of CSS in relation to HTML.
Question 2
Explain and give an example for the different possibilities of attaching styles to the HTML document.
Question 3
Add the style needed to obtain the following characteristics in the given HTML page.
- Set the text color for the page to "red", and the text color for
to "blue".
- Center align the element.
- Remove the underline from the link.
- Style text in to uppercase letters, and text in
to capitalized letters.
- Indent the
element with 20px.
- Set the font family for the page to "Courier New", and the font family for
to "Verdana".
- Show
elements as "italic" text.
- Set the background color for the page to "linen" and the background color for
to "lightblue".
This is a Heading
This is a paragraph.
This is another paragraph.
Question 4
Explain the different page layout strategies and give an example from each one.