w3resource
HTML exercises

CSS Properties - Basic Exercises, Practice, Solution

[An editor is available at the bottom of the page to write and execute the scripts.]

23. How to sets all the border properties in one declaration?

HTML Code:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Border Properties</title>
</head>
<body>
</body>
</html>

Try it in the following editor or see the solution.

a. How to specify the width of the border?

b. How to specify the style of the border?[More question]

c. How to specify the color of the border?

d. How to set the border is animatable?

See the Pen html css common editor by w3resource (@w3resource) on CodePen.


Previous: How to specify the size of a background image?
Next: How to border-style property sets the style of an element?

What is the difficulty level of this exercise?



New Content: Composer: Dependency manager for PHP, R Programming