How to make the text both bold and deleted? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make the text both bold and deleted?

23rd Feb 2017, 6:01 AM
Masuda Rahman Fatima
Masuda Rahman Fatima - avatar
4 Answers
+ 5
This should do it <b><del>your text </del></b> however it's much better so style everything with css like @Alexander or @Michael did
23rd Feb 2017, 6:22 AM
Kamil
Kamil - avatar
+ 1
Font weight is much better to handle with css as with deprecated tag <b>, but <del> element is a semantic tag and is recommended, as long as it's semantically adapted to the content ^^
25th Feb 2017, 12:03 AM
visph
visph - avatar
0
deleted? font-weight:bold;
23rd Feb 2017, 6:14 AM
Michael Szczepanski
Michael Szczepanski - avatar
0
font-weight: bold; text-decoration: line-through; Should do. <del> tag makes basically the same.
23rd Feb 2017, 6:19 AM
spotbot2k
spotbot2k - avatar