Can we bold username text? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita

Can we bold username text?

I want to bold the username text but the code is not working when i use code "username" between <strong>attribute

26th Apr 2020, 5:30 PM
Ashkan - avatar
1 Respuesta
+ 2
an <input> by default doesn't inherit text properties... you need either to style the element itself with css (font-weigth:bold;) or explicitly style it for inheriting font property/ies (font:inherit; or font-weight:inherit; and so on...)
26th Apr 2020, 5:36 PM
visph - avatar