![]() |
Definition and UsageThe Applies toThe
Browser SupportThe |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The blockquote element</h1>
<p>Here is a quote from WWF's website:</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.
</blockquote>
</body>
</html>
It is The del cite attribute.
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The del cite attribute</h1>
<p><del cite="del_demo_cite.htm">This text has been deleted</del></p>
</body>
</html>
It is The ins cite attribute.
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The ins cite attribute</h1>
<p>This is a text. <ins cite="why_inserted.htm">This is an inserted text.</ins></p>
<p><b>Note:</b> The cite attribute does not render as anything special in any of the major browsers.</p>
</body>
</html>
It is The q cite attribute.
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The q cite attribute</h1>
<p>WWF's goal is to:
<q cite="http://www.wwf.org">
Build a future where people live in harmony with nature.</q>
We hope they succeed.
</p>
<p><b>Note:</b> The cite attribute has no visual effect in ordinary web browsers, but can be used by screen readers.</p>
</body>
</html>
html cite attribute |
How to add A section that is quoted from another source | HTML Attribute |
How to add A deleted text with a URL to a document that explains why the text was deleted | HTML Attribute |
How to add An inserted text with a URL to a document that explains why the text was inserted | HTML Attribute |
How to Specify the source URL of a quote | HTML Attribute |
Read Full: | HTML Attribute |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Attribute |
Uploaded by: | Admin |
Views: | 82 |
Reffered: https://www.w3schools.com/tags/att_cite.asp