BORDERS
"ADDING BORDER"
1. Open NOTEPAD2. Type these following codes.
CSS
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;}
HTML
<p class="dotted"> Atticus' Quotes
</p>
<p class="dashed">
I hope to arrive to my death, late, in love, and a little drunk</p>
<p class="solid">
We are made of all those who have built and broken us.</p>
<p class="double"> She conquered her demons and wore her scars like wings</p>
<p class="groove"> It was her chaos that made her beautiful. </p>
<p class="ridge">
Chase your stars fool, life is short.</p>
<p class="inset"> She wasn't looking for a knight, she was looking for a sword.</p>
<p class="outset">She was everything real in a world of make-believe. </p>
<p class="none"> It's a sad thing, protecting a breakable heart.</p>
3. Save the file with a .html extension. 4. Test the file in a browser.
EXAMPLE OUTPUT:
"ADDING BORDER WITH COLOR"
1. Open NOTEPAD2. Type these following codes.
CSS
p.red { border-style: solid; border-color: red; }
p.green { border-style: solid; border-color: green; }
p.blue { border-style: solid; border-color:blue; }
HTML
<p class="red"> RED BORDER </p>
<p class="green">GREEN BORDER </p>
<p class="blue">BLUE BORDER </p>
3. Save the file with a .html extension. 4. Test the file in a browser.
EXAMPLE OUTPUT:
"ADDING ROUND BORDER"
1. Open NOTEPAD2. Type these following codes.
CSS
p.normal{ border:2px solid red; }
p.round1{ border:2px solid red; border-radius:5px; }
p.round2{ border:2px solid red; border-radius: 8px; }
p.round3{ border:2px solid red; border-radius: 12px; }
HTML
<p class="normal">
NORMAL BORDER</p>
<p class="round1">
ROUND BORDER</p>
<p class="round2">
ROUNDER BORDER</p>
<p class="round3">
ROUNDEST BORDER </p>
</body>
3. Save the file with a .html extension. 4. Test the file in a browser.



Quite helpful
ReplyDeleteNot good enough, keep practicing
ReplyDeleteGaling2 ng idol ko :), amazing
ReplyDeleteHelpful!! 👍👍
ReplyDeleteVery nice! Good job
ReplyDeleteWOW! NooB PARIN AHAHAHAHAHAHHAA
ReplyDeleteWow! so helpful.
ReplyDeleteVery helpful!
ReplyDeleteCan't get this HTML out of my mind, hahaha, HTML is cool
ReplyDeleteThis is computer matters? ok
ReplyDeletecomputer is sooo!!!!
ReplyDeleteI loved computer back then
ReplyDeletebut now, I still love computer
ReplyDeleteI think I've heard someone talks about HTML that this thing can be Profitable, whaaaaa
ReplyDeleteI've learned computer games back then but didn't realize that computer can do this things too!
ReplyDeleteThis gives me an idea
ReplyDeleteWell done!
ReplyDeleteHelpful!! Nice
ReplyDeleteHelpful blog!
ReplyDeleteThanks for the info!
ReplyDeleteJob well done. And the blog is helpful
ReplyDeleteit is indeed helpful! thanks for the information!
ReplyDeletecomputer is quite difficult, but this blog sums up almost all important things! thanks for this!
ReplyDeleteI've never realized I can use this, a big thumbs up for creating this blog!
ReplyDeletethis blog makes me want to try all these codes : )) sooo helpful!
ReplyDeleteI never thought codes can be very entertaining to learn, great blog!
ReplyDeleteI didn't know anything about these stuff, this blog is very helpful especially for the beginners in using computer codes!
ReplyDeleteWOW
ReplyDeletecodes are 🤯
ReplyDelete