<b>
- Used to specified bold text.
<strong>
- Is a phase tag.
- Used to define important text.
NOTE :-
<b> and <strong> tags make the text bold.So do you think both elements do the same thing???
No.They don't do the same thing.they may look the same to human.But the web crawlers or bots see something quite different.
When a search engine spiders and analyzes a page , text in <strong> tag is considered important.
Text in <b> tag is not.
<em>
<i>
- Used to specified italic text.
<em>
- Used to format text in document.
- Is a phase tag.(renders as emphasized text)
<mark>
- Used to highlight parts of the text.
- Defines marked text.
<cite>
- Used to define title of a work.
- Name of a person is not a title of a work.
<dfn>
- Used to define instance of term.
- We can used <dfn> tag without a title attribute , with title attribute and with the title attribute of an <abbr> tag inside the <dfn> tag.
Look at the following example to clarify above tags.
No comments:
Post a Comment