All types of 'border-style' HTML
There are 13 types of 'border-style' in HTML. But 5 of them are same. These all types are as following with examples:-
No.1: Dashed
The code for this style is
➢border-style: dashed;
➢border-style: dashed;
Example Dashed:-
No.2: Dotted
No.2: Dotted
The code for this style is
➢border-style: dotted;
➢border-style: dotted;
Example Dotted:-
No.4: Groove
No.5: None, Hidden, Inherit, Initial, Unset
No.6: Outset
No.7: Ridge
No.8: Solid
No.9: Inset
No.3: Double
The code for this style is
➢border-style: double;
➢border-style: double;
Example Double:-
The code for this style is
➢border-style: groove;
➢border-style: groove;
Example Groove:-
None, Hidden, Inherit, Initial, Unset gives the same results so there is no need to write their codes again and again.
The code for this style is
➢border-style: none;
The code for this style is
➢border-style: none;
Example None, Hidden, Inherit, Initial, Unset:-
The code for this style is
➢border-style: outset;
Example Outset:-
➢border-style: outset;
Example Outset:-
The code for this style is
➢border-style: ridge;
➢border-style: ridge;
Example Ridge:-
The code for this style is
➢border-style: solid;
➢border-style: solid;
Example Solid:-
The code for this style is
➢border-style: inset;
➢border-style: inset;
0 Comments