exercise 2 CSS
exercise 2 CSS
Create a new html, every time you create a new paragraph you will give it a number as
an identifier in order to be able to assign different propierties to it. If you don´t know how
this CSS properties work you only have to look for an example on Internet.
2. Apply the following border styles to the preceding paragraphs using the border-style
property
Dotted, dashed, solid, double, Groove, Ridge, inset, outset
3. Use the border-width property to apply different thicknesses to the borders of the
previous paragraphs, assign the value of the property in pixels.
4. Use the border-color property to assign different colors to the borders of the previous
paragraphs.
6. Add a new paragraph in which you are going to apply diferent border properties at the
same time
border: border-width border-style (required) border-color
8. Color the text in various paragraphs using the color property followed by the colors of
your choice.
9. Align the text of different paragraphs using the text-align property and assign the
values left, center and right.
10. Use the text-decoration property in the previous paragraphs and assign the values
overline, line-through and underline.
11. Add shadow to different paragraphs using the text-shadow property, the values of this
property are:
12. Use the font-family property to assign different Fonts to the previous paragraphs.
The following list are the best web safe fonts for HTML and CSS:
• Arial (sans-serif)
• Verdana (sans-serif)
• Helvetica (sans-serif)
• Tahoma (sans-serif)
• Trebuchet MS (sans-serif)
• Times New Roman (serif)
• Georgia (serif)
EJERCICIO CSS
• Garamond (serif)
• Courier New (monospace)
• Brush Script MT (cursive)
13. Apply the font-style property to the previous paragraphs applying the normal, italic or
oblique values
14. Use the font-size property to change the size of the text in the previous paragraphs