Possible Duplicate:
Is it right to add <span> tag inside <a> tag?
<a href="domainname"><strong>Its Me</strong></a>
OR
<strong><a href="domainname">Its Me</a></strong>?
What is the difference between the two above?
Nested links are illegal. Links and anchors defined by the A element must not be nested; an A element must not contain any other A elements.
The <strong> tag is used to define text with strong importance. The content inside is typically displayed in bold. Tip: Use the <b> tag to specify bold text without any extra importance!
No. If it's list, it has list-items in it.
The text written under <b> tag makes the text bold presentationally to draw attention. The main difference between these two tag is that the strong tag semantically emphasizes on the important word or section of words while the bold tag is just offset text conventionally styled in bold.
<strong><a href="domainname">Its Me</a></strong>
is the recommended XHTML syntax, but it doesn't matter.
But there is no real difference between the two. It's like asking what is the difference between
5 + 2 and 2 + 5, there is no difference in logic, just in syntax.
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