CSS Properties: How to specify a thin left border?
Solution:
HTML Code:
Explanation:
- This HTML document demonstrates how to set the width of the left border for an h1 element to a thin size.
- The h1 elements have a common style with a solid border, and the width of the left border is set to the thin size.
- The rendered h1 element will have a left border with a width that is typically interpreted by browsers as being thin.
Live Demo:
See the solution in the browser
Supported browser
Yes | Yes | Yes | Yes | Yes |
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics