Computer >> Computer tutorials >  >> Programming >> HTML

How to create a Bibliography with HTML?


The bibliography is a section where a list of books referred is mentioned. With HTML, you can easily create a Bibliography. For that, we will be using a <ol> tag to list the books as well as <cite> to add a title of the work.

The <cite> tag is also used to add work title a song, a painting, a movie, etc. It indicates citation and whatever comes inside the tag represents work title.

How to create a Bibliography with HTML?

Example

Let’s see how to add a bibliography in HTML

<!DOCTYPE html>
<html>
   <head>
      <title>Bibliography</title>
   </head>
   <body>
      <h1>Bibliography</h1>
      <ol>
         <li>
            <p>E.Balagurusamy, <cite>Programming with JAVA: A Primer</cite>, 3rd edition, (2007)</p>
         </li>
         <li>
            <p>Reto Meier, <cite>Professional Android 4 Application Development</cite>, 3rd edition, (2012)</p>
         </li>
      </ol>
   </body>
</html>