HTML CITE (<cite>) Tag
0 3248
The HTML Citation element (<cite>) is used to describe a reference to a cited creative work and must include the title of that work.
The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata.
The main objective of <cite> Tag is to specify the source of the content.HTML <cite> tag does not contain any specific attribute. The syntax of <city> tag look identical to <cite> </cite>.
Browsers Support:
Google Chrome | Firefox | Safari | Internet Explorer |
Code:
<!DOCTYPE html> <html> <head> <title>The Cite Tag</title> </head> <body> <h2>Example of Cite tag</h2> <img src="htmlbook.jpg" height="150" width="120"> <p>A famous book: <cite> HTML Black Book </cite> written by Steven Holzner (Author) </p> </body> </html>
Output:
There are two distinct suppositions about what ought to be remembered for the <cite> component. The more prohibitive supposition is that solitary the title of a work ought to be incorporated. The less prohibitive assessment is that the title of a work and furthermore the author can be incorporated.
Which standard to follow relies upon you. On the off chance that you care a ton about HTML approval and adhering to guidelines, you most likely need to follow the more prohibitive practice. In the event that you are keen on pushing web models forward, you should embrace the more liberal practice.
In any case, it is critical to understand that only a creator's name is never a legitimate utilization of the <cite> component. It ought to consistently contain in any event the title of a work and, alternatively, extra data, for example, the creator.
Share:
Comments
Waiting for your comments