Every paragraph will be affected by the style.
Me too!
And me!
Hello World!
This paragraph is not affected by the style.
Red and center-aligned paragraph.
This paragraph has its own background color.
We are still in the div element.This property specifies what kind of border to display:
A dotted border.
A dashed border.
A solid border.
A double border.
A groove border.
A ridge border.
An inset border.
An outset border.
No border.
A hidden border.
A mixed border.
This property specifies the width of the four borders:
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Note: The "border-width" property does not work if it is used alone. Always specify the "border-style" property to set the borders first.
This property specifies the color of the four borders:
A solid red border
A solid green border
A dotted blue border
Note: The "border-color" property does not work if it is used alone. Use the "border-style" property to set the borders first.
2 different border styles.
This property is a shorthand property for border-width, border-style, and border-color.
This property is used to add rounded borders to an element:
Normal border
Round border
Rounder border
Roundest border
The three headings above are aligned center, left and right.