What is the difference between <cite>, <em>, and <i> tags of HTML ?
All render same default style in most of browsers.
Is there any meaning behind these tags ?
Can anyone give example about where these tags can be used ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
<cite>is used for citations (either of resources or of their authors). They are commonly used together with<q>or<blockquote>(both used for quotations).<em>means text emphasis (in a paragraph or some other text content).In legacy HTML,
<i>used to mean italicized text. In HTML5,<i>has been repurposed into something else entirely. (Note that this was not true at the time this answer was originally written.)The only thing these three elements have in common is that all three of them are typically set in italics. In other words, the fact that they all have the same default style is mere coincidence.