what is tag used to write bold and italic style text?? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

what is tag used to write bold and italic style text??

like a single text has to be in bold not separately bold and italic

30th May 2016, 11:34 AM
Adolf Pavan
Adolf Pavan - avatar
6 Réponses
+ 2
HTML 5 I think now recommends the use of <strong> to make something "bold". As Billy says below <em> is for italicized (emphasized) text.
31st May 2016, 4:12 AM
DevCoder (John Sullivan)
DevCoder (John Sullivan) - avatar
+ 1
For bold use <b>my bold text</b> For italic use <i>my italic text</i> You can also combine both kind of tags nesting them as follows <b><i>my bold AND italic text</i></b>. You can find this info in the "Glossary" section of this app.
30th May 2016, 11:43 AM
Fer
+ 1
Billy is correct. em is for emphasized or italic text. google it to see. i took a screen shot but we can't post those in q&a unfortunately
1st Jun 2016, 2:00 AM
DevCoder (John Sullivan)
DevCoder (John Sullivan) - avatar
+ 1
using <b></b> for bold and <i></i> for italic , is old fashion ... <em> for emphasized(italic) text and <strong> for bold text are more suitable
3rd Jun 2016, 7:14 PM
Chinmay Majumdar
Chinmay Majumdar - avatar
0
i think <em> is for italic cmiiw
1st Jun 2016, 1:54 AM
Billy Gunawan
Billy Gunawan - avatar
0
Use strong for bold and em for italic. This allows your page to be easily viewed on mobile devices. do not use b or i, don't make it a bad habit.
4th Jun 2016, 4:08 PM
Josue Flores
Josue Flores - avatar