Tutorials

KodeKite Tools

HTML
Flexbox
SVG
Canvas
HTML Tutorial

More


HTML Citation Element
Cite Element

Cite is a formatting element used to define title of work or it give reffernce to text and text between cite is displayed italic.

Syntax

<cite>Content</cite>

Or

<tag><cite>Content</cite></tag>


You can apply cite element to any element and use any where within a HTML document.


Example

Welcome to KodeKite


Cite is a pair tag and output of cite element is an italic text like you can see in above example.


Practice Task

Open notepad or any other text editor, follow the following points.


  • Write some text using any HTML element
  • Use <cite> element to give citation to text

save file with name task.html or task.htm and then open it using any browser and see results.


Solution

Cited text


Don't forget cite is non empty element which means it always comes in pair.