<cite>

Description

<cite> marks a citation by causing text between its opening and closing tags to be rendered in italics.


<cite> . . . </cite>

The following code uses <cite> tag to mark a URL.


<!DOCTYPE HTML> 
<html> 
    <head> 
        <title>Example</title>
    </head> 
<body> 
    My favorite book is <cite>google.com</cite> by Google.
</body> <!--  w  ww . ja v  a  2s. c o m-->
</html>

Click to view the demo

The code above generates the following result.

cite

Example


<html>
<body>
     <p>
          . . . This is a test. . .<br/> (FirstName, <cite>The Book</cite>)
     </p><!--from   w  w  w  .jav  a 2s . c  om-->
</body>
</html>

Click to view the demo

The code above generates the following result.

cite




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference