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.
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.
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>.
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:
Steps To Add Border-Color:
1.Open the characterspacing.html file in Notepad
CSS & HTML CODE
Sample output:
A solid red border
A solid green border
A solid multicolor border
A solid red border
A solid green border
A solid multicolor border
Border Style
The border-style property specifies what kind if border to display.
The following values are allowed:
Steps To Create Border Style:
Border Style
The border-style property specifies what kind if border to display.
The following values are allowed:
The border-style property specifies what kind if border to display.
The following values are allowed:
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:
Example output:
A dotted border.
A dashed border.
A solid border.
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.
A double border.
A groove border.
A ridge border.
An inset border.
An outset border.
No border.
A hidden border
A mixed border.

Wooww!!
ReplyDeleteLovely 😎
ReplyDeleteIt's so good to be born in Asia!
ReplyDeleteDaebak!!!🤓
ReplyDeleteWow delicious!!!
ReplyDeletewow! amazing!
ReplyDeletenamit ba.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeletefantastic!!!
ReplyDeleteWow u just doubled my hunger right now! Pls help me out also hehehee
ReplyDeleteDon't eat too much 😆
ReplyDeleteBut food is life😋
DeleteYeah your right
DeleteCraving for those!
ReplyDeleteNow where's my rice? haha
ReplyDeleteWoah i should try this
ReplyDeleteLooks yummy and delicious
ReplyDeleteI'm craving! yum yum yum!
ReplyDeletelooks yummy and amazing
ReplyDeletegood job
ReplyDelete👍👍👍
wow, amazing
ReplyDeleteWanna try all of these
ReplyDeletewoww!!
ReplyDeleteNot only i learned about asian dishes but also learned to how cook some of these! :)
ReplyDeleteNiceee!❤
ReplyDeleteGreattt!!!!
ReplyDeleteYou've done an amazing job featuring asian dishes. thumbs up for this! :D
ReplyDeleteI'm craving right now😍
ReplyDeletefantastic!!
ReplyDeleteamazing!
ReplyDeletewoww this blog is amazing
ReplyDeletethank you for this!
ReplyDeleteFantastic
ReplyDeleteI love asian dishes!
ReplyDeletegreat
ReplyDeletenice blog!
ReplyDeletethis makes me crave!!!
ReplyDeleteI feel hungry
ReplyDeleteDelicious
ReplyDeleteThis deserves a thumbs up :D
ReplyDeleteniiiiiiiiiice!!
ReplyDeleteTasty
ReplyDeleteNice
ReplyDeleteFoods :)
ReplyDeleteNow I'm hungry
ReplyDeleteWonderful
ReplyDeleteGood job
ReplyDeleteNice
ReplyDeletePho
ReplyDeleteAwesome
ReplyDeleteYou should be proud
ReplyDeleteGreat job
ReplyDeleteThe best
ReplyDeleteNice
ReplyDeleteyummy
ReplyDeletewonderful
ReplyDeleteamazing
ReplyDeletelets eat
ReplyDeletewow
ReplyDeleterefreshing
ReplyDeletenice
ReplyDeletegood job
ReplyDeleteFantastic
ReplyDeleteImpressive
ReplyDeleteAmazing
ReplyDeleteNICE....NAGUTOM AKO BIGLA HAAHAHHA
ReplyDeleteI love that
ReplyDeletegood job
ReplyDeleteIncredible
ReplyDeleteAwesome
ReplyDeletenice
ReplyDeleteinteresting
ReplyDeleteGreat Job!!
ReplyDeleteNow i'm craving!!!
ReplyDeleteasia is the best!
ReplyDeletegood
ReplyDeleteDelicious
ReplyDeleteNice
ReplyDeleteMakes me hungry
ReplyDeleteAmazing
ReplyDeleteAwesome
ReplyDeleteloved it
ReplyDeleteIM CRAVINGGGGGGGG!
ReplyDeleteGood job
ReplyDeleteThis makes me hungry!
ReplyDeleteThe best
ReplyDeleteLooking at these pictures made me hungry!
ReplyDeletewow! so delicious.
ReplyDeleteDeliciouso!!
ReplyDeleteLooks so good
ReplyDeletewow!
ReplyDeleteThis comment has been removed by the author.
ReplyDeletemakes me hungry
ReplyDeletenice
ReplyDeleteyummy
ReplyDeletedelicious
ReplyDeletewow
ReplyDeleteMagnificent
ReplyDeletenice
ReplyDeleteyummy
ReplyDeletedelicious
ReplyDeletewow
ReplyDeleteDelicious
ReplyDeletegood job
ReplyDelete
ReplyDeleteAsian foods nice
All of these look delicious
ReplyDeleteDelicious foods
ReplyDeleteAmazing foods
ReplyDeleteI like these kinds food
ReplyDeletewhat a useful site!
ReplyDeleteVery nice blog
ReplyDeleteMakes me wanna eat
ReplyDeleteGives me the idea to eat
ReplyDeletewow delicious foods
ReplyDeletegood job
ReplyDeleteamazing blog
ReplyDeleteI like this blog
ReplyDeleteThis is helpful blog
ReplyDeleteGood blog
ReplyDeleteNow I'm starving
ReplyDeletenice
ReplyDeleteIncredible blog
ReplyDeleteawesome foods
ReplyDeleteImpressive
ReplyDeletegood job
ReplyDeleteNice foods
ReplyDeleteyummy foods
ReplyDeleteJob well done
ReplyDeleteGreat blog
ReplyDeletethis is something special
ReplyDeleteThis is helpful
ReplyDeletecool blog
ReplyDeleteWant to eat this now
ReplyDeleteAdvance Happy New Year :)
ReplyDeletenice
ReplyDeleteGood examples
ReplyDeleteamazing blog
ReplyDeletepopular dishes nice
ReplyDeleteGreat job
ReplyDeleteDelicious foods
ReplyDeleteInteresting blog
ReplyDeleteNow i'm hungry
ReplyDeleteAmazing fods!
ReplyDeletewow! nice blog!
ReplyDeleteCool blog
ReplyDeleteWow
ReplyDeleteWOW AMAZING!!
ReplyDeleteA food lover here 😍😍 I really want to try those Asian dishes listed here 😍
ReplyDeleteMouthwatering <3
ReplyDeleteCRAVINGGGG
ReplyDeleteDelicious😋
ReplyDeleteWanna try all of these‼️
ReplyDeletenice blog
ReplyDeletenice blog
ReplyDeleteKeep up the good work
ReplyDeletePerfect blog
ReplyDeleteThis is a very good blog
ReplyDeleteGreat job
ReplyDeleteAmzing
ReplyDeleteThanks for the info
ReplyDeleteInteresting
ReplyDeleteGood blog
ReplyDeleteI want to eat those foods
ReplyDeleteIncredible blog
ReplyDeleteNow I know
ReplyDeleteHow lovely
ReplyDeleteVery nice blog
ReplyDeleteCool blog
ReplyDeleteI want to try these kinds of foods
ReplyDeleteGood job
ReplyDeleteCool
ReplyDeleteMakes me wanna eat
ReplyDeleteLegit
ReplyDeleteThoughtful
ReplyDeleteDelicious foods
ReplyDeleteWow
ReplyDeleteWell done
ReplyDeleteNice blog
ReplyDeleteAmazing
ReplyDeleteImpressive blog
ReplyDeleteI appreciate it
ReplyDeleteGreat job
ReplyDeleteNow I have the idea
ReplyDeleteThanks for knowing us
ReplyDeleteThese foods are legit
ReplyDeleteAmazing
ReplyDeleteGood blog
ReplyDeleteInteresting blog
ReplyDeleteI like it
ReplyDeleteAmazing
ReplyDeleteKeep up the good work
ReplyDeleteThis blog is perfect
ReplyDeleteDelicious
ReplyDeleteNow I know
ReplyDeleteGreat job
ReplyDeleteKeep up the good work
ReplyDeleteVery good blog
ReplyDeleteJob well done
ReplyDelete