HTML CSS examples for HTML Tag:cite
The cite element marks the title of a cited work, such a book, article, film, or poem.
The cite Element summary
Item | Value |
---|---|
Element | cite |
Local Attributes | None |
Tag Style | Start and end tag |
New in HTML5 | No |
Changes in HTML5 | The cite element can only cite the title of a cited work. |
Style Convention
cite { font-style: italic; }
The following code shows the use of the cite element.
<!DOCTYPE html> <html> <head> <title>Example</title> </head> <body> <p> <q cite="http://en.wikipedia.org/wiki/css"> The <!--from w ww . ja v a2 s.c o m--> <dfn title="css">css</dfn> is cool. </q> </p> My favorite book on fruit is <cite>CSS tutorial</cite> by java2s.com </body> </html>