Paragraph Styling Lab

Easy
96
4
83.7% Acceptance

In this lab, you will learn how to style a paragraph using different CSS properties. You will have to create a paragraph with the id 'paragraph' and set its font size, font family, font weight, and margin using CSS.

To set the font size, use the font-size property and provide a size in pixels.

To set the font family, use the font-family property and provide a list of font names separated by commas. It is a good practice to include a generic font family, like sans-serif, as a fallback in case the other specified fonts are not available.

To set the font weight, use the font-weight property and provide a value, such as 'bold', to make the text bold.

To set the margin, use the margin property and provide a size in pixels. The margin will apply to all four sides of the paragraph.