Ways To Learn Many Things
Adding Different Border Styles To Creat a Good Web Design
Borders can be applied to almost any two-side tag particularly in a paragraph. You can specify line type of a border by using the border-style rule along with its line style.
CSS Property: border-style. The style of the border of a box. The border style, combined with border width and border color, can also be specified with the border shorthand property. With one value, the border-style property can be used to specify a uniform style border around a box.
Border Style
Border Style
The border-style property specifies what kind if border to display.
The following values are allowed:
Steps To Creat Border Styles:
1.Open characterspacing.html file in Notepad.
2.Type the following inside the <html></html> and type CSS code inside the <head></head> and HTML code inside the <body></body>.
CSS & HTML CODE
<html>
<head>
<style>
p.dotted {border-style: dotted;}
p.dashed {border-style: dashed;}
p.solid {border-style: solid;}
p.double {border-style: double;}
p.groove {border-style: groove;}
p.ridge {border-style: ridge;}
p.inset {border-style: inset;}
p.outset {border-style: outset;}
p.none {border-style: none;}
p.hidden {border-style: hidden;}
p.mix {border-style: dotted dashed solid double;}
</style>
</head>
<body>
<p class="dotted">A dotted border.</p>
<p class="dashed">A dashed border.</p>
<p class="solid">A solid border.</p>
<p class="double">A double border.</p>
<p class="groove">A groove border.</p>
<p class="ridge">A ridge border.</p>
<p class="inset">An inset border.</p>
<p class="outset">An outset border.</p>
<p class="none">No border.</p>
<p class="hidden">A hidden border.</p>
<p class="mix">A mixed border.</p>
</body>
</html>
3.Save the files as pharagraph-border.html.
4.See what it looks like in a browser.
Example output:
A dotted border.
A dashed border.
A solid border.
1.Open characterspacing.html file in Notepad.
2.Type the following inside the <html></html> and type CSS code inside the <head></head> and HTML code inside the <body></body>.
CSS & HTML CODE
<html>
<head>
<style>
p.dotted {border-style: dotted;}
p.dashed {border-style: dashed;}
p.solid {border-style: solid;}
p.double {border-style: double;}
p.groove {border-style: groove;}
p.ridge {border-style: ridge;}
p.inset {border-style: inset;}
p.outset {border-style: outset;}
p.none {border-style: none;}
p.hidden {border-style: hidden;}
p.mix {border-style: dotted dashed solid double;}
</style>
</head>
<body>
<p class="dotted">A dotted border.</p>
<p class="dashed">A dashed border.</p>
<p class="solid">A solid border.</p>
<p class="double">A double border.</p>
<p class="groove">A groove border.</p>
<p class="ridge">A ridge border.</p>
<p class="inset">An inset border.</p>
<p class="outset">An outset border.</p>
<p class="none">No border.</p>
<p class="hidden">A hidden border.</p>
<p class="mix">A mixed border.</p>
</body>
</html>
3.Save the files as pharagraph-border.html.
4.See what it looks like in a browser.
Example output:
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 hidden border
A mixed border.
Adding Border-Color
The border-color property is used to set the color of the borders and it can have one to four values.
Steps To Add Border-Color:
1.Open the characterspacing.html file in Notepad
2.Inside the <html></html> add the CSS code for border-color inside <head></head> and HTML code for border-color inside <body></body>.Steps To Add Border-Color:
1.Open the characterspacing.html file in Notepad
CSS & HTML CODE
<html>
<head>
<style>
p.one {
border-style: solid;
border-color: red;
}
p.two {
border-style: solid;
border-color: green;
}
p.three {
border-style: solid;
border-color: red green blue yellow;
}
</style>
</head>
<body>
<p class="one">A solid red border</p>
<p class="two">A solid green border</p>
<p class="three">A solid multicolor border</p>
</body>
</html>
3.Save the files as pharagraph-border-color.html.
4.See what it looks like in a browser.
Sample output:
A solid red border
A solid green border
A solid multicolor border

Wow, amazing!! π
ReplyDeletewhy so pro
ReplyDeleteAstigggg!!!π€
ReplyDeleteWaw
ReplyDeleteWaw
ReplyDeleteReally??...So Interesting!
ReplyDeleteWow nice blog
ReplyDeleteInteresting much
ReplyDeleteI would definitely recommend these to my brother HAHAHA
ReplyDeletenow I have the idea
ReplyDeleteThank you
ReplyDeletewow
ReplyDeleteNice
ReplyDeleteGood Job!!
ReplyDeleteGamers haven! ❤thank you for giving us the info
ReplyDeleteWell played amazing!
ReplyDeleteWell played amazing!
ReplyDeleteWell played amazing!
ReplyDeleteIt helped me a lot
ReplyDelete❤️
ReplyDeleteI like it
ReplyDeleteGood job
ReplyDeleteThis is great
ReplyDeleteAmazing
ReplyDeletewowwww
ReplyDeleteNow I know
ReplyDeleteNice
ReplyDeleteGood job
ReplyDeleteWonderful
ReplyDeleteWow
ReplyDeleteThank you for giving us the info
ReplyDeleteThumbs upπ
ReplyDeleteCool
ReplyDeleteYou have the best idea
ReplyDeleteGood job
ReplyDeleteYou're great
ReplyDeleteAmazing
ReplyDeleteThis is perfect
ReplyDeleteThis is cool
ReplyDeleteAwesome
ReplyDeleteNow i want to start playing!!
ReplyDeleteCOOL!
ReplyDeletewhoah
ReplyDeleteThis is gtreat
ReplyDeletewonderful
ReplyDeleteamazing
ReplyDeletethanks for the info
ReplyDeleteGood job
ReplyDeleteThis is one of a kind
ReplyDeleteI appreciate it
ReplyDeleteThis is wonderful
ReplyDeleteLoved it
ReplyDeleteI played dota 2
ReplyDeleteMe too
ReplyDeletewow
ReplyDeletenice
ReplyDeleteFantastic
ReplyDeleteThis is legit
ReplyDeleteThis is great
ReplyDeleteThanks for knowing us
ReplyDeleteInteresting
ReplyDeletecool bro
ReplyDeleteThis is perfect
ReplyDeleteCreate more :)
ReplyDeleteNice one
ReplyDeletewow
ReplyDeleteAwesome bro
ReplyDeleteLOL is great
ReplyDeleteThis is good
ReplyDeleteHelpful
ReplyDeletehelpful for gamers who wants to find online multiplayer games!
ReplyDeletei like these!
ReplyDeleteGood thing I found this
ReplyDeletenow I know
ReplyDeletecool
ReplyDeleteNow I want to play online games
ReplyDeleteThanks bro
ReplyDeleteGood Job
ReplyDeleteThis help me a lot
ReplyDeleteI like it
ReplyDeleteNice
ReplyDeletenice
ReplyDeleteThat's great
ReplyDeleteNice
ReplyDeleteWonderful
ReplyDeleteWell played
ReplyDeleteAxe
ReplyDeleteThis is helpful
ReplyDeletePerfect
ReplyDeleteThe best
ReplyDeleteAmazing
ReplyDeletewow
ReplyDeleteThanks for the info
ReplyDeleteOnline games :)
ReplyDeletenice
ReplyDeletecool
ReplyDeletepower
ReplyDeletegamers life
ReplyDeleteThis is good
ReplyDeleteA blast
ReplyDeleteMagnificent
ReplyDeletethis is great
ReplyDeleteIncredible
ReplyDeletePerfect
ReplyDeleteAwesome and nice blog
ReplyDeleteExtraordinary
ReplyDeleteSuper cool
ReplyDeleteNICE!!!
ReplyDeletevery good
ReplyDeleteInteresting blog
ReplyDeleteNoice!
ReplyDeleteIncredible
ReplyDeletecool blog
ReplyDeleteNICEEEEEE!
ReplyDeleteIt is helpful
ReplyDeleteAmazingg
ReplyDeleteAmazing my frienddd!!!
ReplyDeletenice
ReplyDeleteIncredible
ReplyDeletethanks for the info
ReplyDeleteThis is great
ReplyDeleteLoved it
ReplyDeletecool
ReplyDeleteawesome
ReplyDeleteperfect
ReplyDeletegood job
ReplyDeleteFRANZ NAMBAWANNN HAHA
ReplyDeleteMakes me wanna play
ReplyDeletewow
ReplyDeletegreat job
ReplyDelete#5 is my favorite
ReplyDeleteI will try all of these
ReplyDeleteperfect for online gamers
ReplyDeleteMakes me wanna play all day
ReplyDeleteI will play all of these
ReplyDeleteWow!!! very nice blog
ReplyDeleteWhat an interesting blog
ReplyDeleteThumbs up for this blog
ReplyDeleteThis blog is perfect for gamers searching for fun
ReplyDeleteWonderful blog
ReplyDeleteI love this kinds of blogs
ReplyDeleteGreat job
ReplyDeleteIncredible blog
ReplyDeleteThanks for the info
ReplyDeleteThis blog helped me a lot
ReplyDeleteCool blog
ReplyDeleteKnow I have the a idea
ReplyDeletewow wow
ReplyDeleteInspire me to play
ReplyDeleteIncredible blog
ReplyDeleteThis is great
ReplyDeleteI really appreciate it
ReplyDeleteThis is awesome
ReplyDeleteImpressive
ReplyDeleteI'll try all of these
ReplyDeletewow nice blog
ReplyDeleteJob well done
ReplyDeleteYou're so thoughtful
ReplyDeletesomething special
ReplyDeleteThis is helpful
ReplyDeleteThis is one of a kind
ReplyDeleteI wanna play this games all day
ReplyDeleteAdvance Happy New Year :)
ReplyDeleteNice amazing
ReplyDeleteGood examples
ReplyDeleteGreat info
ReplyDeleteI think Doom will be an exciting game
ReplyDeleteGreat job
ReplyDeleteThese games are damn cool
ReplyDeleteFornite is fun
ReplyDeleteMagnificent
ReplyDeleteCan't comment so I'll reply
DeleteThis a wonderful blog good job
I want to try it all now
ReplyDeleteI will try all of these for real
ReplyDeletemakes me wanna play
ReplyDeleteMakes me wanna play
ReplyDeleteGood blog makes me wanna play
ReplyDeleteMakes me wanna play nice
ReplyDeleteWow what an amzing blog good job
ReplyDeleteGreat jobπ
ReplyDeleteWanna try those games soonπ
ReplyDeleteNot a gamer here! ππ but it would be great help for all gamers out there π Just manage your time! A friendly reminder don't waste all your time playing ! ππ
ReplyDeleteI want to try these games
ReplyDeleteSo addicting
ReplyDeleteGood idea i like it
ReplyDeleteGood job
ReplyDeletenice blog bro
ReplyDeleteKeep up the good work
ReplyDeletePerfect blog
ReplyDeleteThis is a very good blog
ReplyDeleteGreat job
ReplyDeleteThis is amazing
ReplyDeleteThis bl;og help me a lot
ReplyDeleteThanks for the info
ReplyDeleteThis is interesting an blog
ReplyDeleteKeep up the good work
ReplyDeleteI wanna try these games
ReplyDeleteThis blog is incredible
ReplyDeleteNow I know
ReplyDeleteI love it
ReplyDelete