+ 2

Light (thin) Text in HTML.

How do you format text to make it thinner in HTML?

26th Jun 2018, 9:07 PM
Alisse Canre
Alisse Canre - avatar
3 odpowiedzi
+ 5
You can change the way things look in html by using CSS. the ‘font-weight’ determins the thickness of text. You can do this by either writing it inline for example: <p style font-weight: 300px>text here <\p> or using a seperate CSS file like: .p { font-weight: 300px; }
26th Jun 2018, 9:17 PM
Agent
Agent - avatar
+ 2
the smallest value of font weight is 100px However you can replace the px number for ‘lighter’ which will also decrease thickness
26th Jun 2018, 9:24 PM
Agent
Agent - avatar
+ 1
Caveat: Make sure your chosen font / glyph set supports the font weight you are choosing. It might look ugly if you leave it up to the software to cobble together a font for you. :)
27th Jun 2018, 4:59 AM
Janning⭐
Janning⭐ - avatar