underling a img | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 15

underling a img

can u underline a img in html or css

28th Mar 2019, 9:33 PM
ANONYMOUS
ANONYMOUS - avatar
8 Respostas
+ 13
Use style for a bottom border. <img src=ā€œpic.jpgā€ style=ā€œborder-bottom:2px solid red;ā€>
28th Mar 2019, 9:43 PM
Mike
Mike - avatar
+ 9
U can use img border inside the img tag.
30th Mar 2019, 2:15 AM
šŸ‡®šŸ‡³Harsh Raj šŸ‡®šŸ‡³
šŸ‡®šŸ‡³Harsh Raj šŸ‡®šŸ‡³ - avatar
+ 8
You can add a border to the bottom of the image using css as.. img{ border-bottom:3px solid #ff0000; } Or you can also add <hr> tag after <img> tag to make underline
29th Mar 2019, 6:09 PM
Prabhat Kumar Singh
Prabhat Kumar Singh - avatar
+ 6
ok thx
29th Mar 2019, 8:50 PM
ANONYMOUS
ANONYMOUS - avatar
+ 6
Replace underling with underline in the question and add it as a tag so anyone searching for a similar question can find it in q and a.
29th Mar 2019, 11:08 PM
Sonic
Sonic - avatar
+ 4
You have to add border-bottom
30th Mar 2019, 6:01 AM
SHAHMIR FAISAL
SHAHMIR FAISAL - avatar
+ 4
what Jaedon Person what do u mean
5th Apr 2019, 11:06 AM
ANONYMOUS
ANONYMOUS - avatar
+ 1
too un
30th Mar 2019, 8:26 PM
Jaedon Person
Jaedon Person - avatar