+ 3

How to get border around any text just like 'About me' in html course?<!DOCTYPE html> <html> <head> <title>My Blog</

3rd Oct 2017, 2:10 AM
Tanvi
Tanvi - avatar
4 Answers
+ 5
@Tanvi this is taught in the CSS course under module 3: properties > borders. When you finish with the HTML course it should be then next course you take, then Javascript.
3rd Oct 2017, 4:33 AM
ChaoticDawg
ChaoticDawg - avatar
+ 3
border: 1px solid black; padding: 10px 20px;
3rd Oct 2017, 2:36 AM
CalviÕ²
CalviÕ² - avatar
+ 3
Thank you sir
3rd Oct 2017, 4:34 AM
Tanvi
Tanvi - avatar
+ 3
<p style="border:y px solid/dotted/ dashed;">About Me</p> Where y is the width of border.
2nd Nov 2017, 5:12 PM
Joe
Joe - avatar