What is the CSS equivalent of the <big>
element? If I'm not mistaken then wrapping your text in the <big>
element is not the same as setting a larger font-size
.
Google Chrome says:
big {
font-size: larger;
}
That should be the corresponding CSS. Anyway, make sure not to use tags like big
since they go against the rule which states HTML should be used to describe the content, not the appearance.
You could go for something like:
<span class="important-text">My important text</span>
And use this in CSS:
span.important-text {
font-size: larger;
}
Which is the correct form, whereas
<big>My important text</big>
is incorrect.
This
<span style="font-size:larger">...</span>
is a direct equivalent of the <big>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With