Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@MaLiN2223 Agree. But...
#bolded-text-id {
font-weight: bold;
}
<span id="bolded-text-id">only bold this</span>
--VS--
<b>only bold this</b> -
@corscheid from experience: in a few weeks it is going go be changed to red and font to XYZ.
Next few weeks and client is going to say "I want this super fancy markup what I saw on ABC website"
In Web development it's better to be over prepared :P
Edit: And also you block yourself from doing multiple layouts. -
ggromx4368yHTML tags are used for intent.
B is no longer recommended for emphasis, since strong exists.
I use B.
If you need to style. Use context styling.
.context strong {} -
lurch3528y<b></b> is deprecated, <strong></strong> is the proper element, but for visualization, you should use custom CSS. However, for accessibility options, you should still use the strong element because modern browsers will pronounce strong elements differently
Related Rants
<b> or <strong> ?
#WhatTheHTML
undefined
what the html
html
web