The HTML cite tag is used to define a citation.
Use the tag around the title of the work you are citing.
On the web page itself, the copy in the tag will have emphasis on it or be in italics as seen in the output below.
<!DOCTYPE html> <html> <head> <!-- This is the stylesheet John created in 2020 --> <link rel="stylesheet" href="/file/stylesheet.css"> </head> <body> <div id="openingparagraphs"> <p>Welcome to my webpage and paragraph 1.</p> <p>I have so much to say I'm going to need a lot of paragraphs!</p> <cite>Title of Book</cite> by Author Name, January 2020 </div> </body> </html>
Welcome to my webpage and paragraph 1.
I have so much to say I’m going to need a lot of paragraphs!
Title of Book by Author Name, January 2020