C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
HTML <cite> tagHTML <cite> tag specifies a citation, it provides reference or title to a creative work, quoted content, books, websites, a research paper, a blog-spot, painting, etc. The main purpose of adding <cite> element is to provide or identify the source of the quote or any content. The content written between <cite> tag renders in the italic form on the browser, and it can be overridden using CSS in your HTML document. Syntax<cite>Cited Content.......</cite> Following are some specifications about the <cite> tag
Example:<!DOCTYPE html> <html> <head> <title>Cite Tag</title> </head> <body> <h2>Example of cite tag</h2> <img src="/tutorial/htmlpages/images/book.jpg" height="150" width="120"> <p>A famous book: <cite> Learning Web Design</cite> written by Jennifer Niederst Robbins </p> </body> </html> Output: AttributeTag-specific attributeHTML <cite> tag does not contain any specific attribute. Global AttributeHTML <cite> tag supports all Global attributes in HTML Event AttributeHTML <cite> tag supports all Event attributes in HTML. Supporting Browsers
Next TopicHTML code Tag
|