Editing text in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Editing text in html

How do I underline the text, increase or decrease the size of it in html? I just learned the tags like <b> <big>, etc. But what if I wanna specify the size of the text, as in image? Thanks in advance. Kudos.

30th Apr 2017, 10:34 AM
T#3©od3®
T#3©od3® - avatar
3 Answers
+ 5
Focus on css instead of html you will find a solution easily.
25th Apr 2020, 9:58 PM
BENOTMANE
BENOTMANE - avatar
+ 27
<ins style=font:size:20px>Underlined & 20 pixel size</ins>
30th Apr 2017, 10:36 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 6
Use css instead of tags. You can underline text in css with this code: text-decoration: underline; :) and for font size: font-size: 14px; and you have much more option using css instead of tags like you mention :)
30th Apr 2017, 10:39 AM
Nikola Stojiljkovic
Nikola Stojiljkovic - avatar