html - Simulate em tag in CSS -
this question has answer here:
i trying eradicate html code of tags such <strong>
, <i>
, <b>
, , <em>
. understand <strong>
, <b>
can accomplished in css using font-weight: bold
. understand <italic>
can accomplished in css using font-weight: italic
. however, not sure how css equivalent <em>
is. after lot of research, not see difference between <strong>
, <b>
, , <em>
.
therefore, difference between <strong>
, <b>
, , <em>
, , css equivalent of <em>
? suggestions appreciated. thank you.
the em
tag semantic tag "emphasis" browsers render font-style: italic
:
most browsers display element following default values:
em { font-style: italic; }
source: html em tag
Comments
Post a Comment