工作標(biāo)題可以是書(shū)籍、歌曲、繪畫(huà)、電影等的標(biāo)題。
我們使用標(biāo)簽來(lái)標(biāo)記HTML中的工作標(biāo)題。標(biāo)簽表示引用,標(biāo)簽內(nèi)的內(nèi)容代表網(wǎng)頁(yè)上指定事物的工作標(biāo)題。
語(yǔ)法
Following is the syntax for the tag.
<cite> Work title</cite>
登錄后復(fù)制
Example
以下是<cite>標(biāo)簽的示例程序。
<!DOCTYPE html> <html> <head> <title>HTML cite tag</title> </head> <body> <h1>Heading</h1> <p> Learn Java from <cite>Java The Complete Reference</cite> by Herbert Schildt. </p> </body> </html>
登錄后復(fù)制
Example
Following is another example program for the <cite> tag.
<!DOCTYPE html> <html> <head> </head> <body> <p>DLF stands for <cite>Delhi Land and Finance</cite></p> <p>Delhi Land and Finance is one of the largest commercial real estate developer in India.</p> </body> </html>
登錄后復(fù)制
Example
以下是<cite>標(biāo)簽的另一個(gè)示例程序。
<!DOCTYPE html> <html> <head> <title>HTML blockquote tag</title> <style> blockquote { margin-left: 0; } </style> </head> <body> <h1>Drupal official website</h1> <p>Here is a quotation from Drupal’s official website</p> <blockquote cite="http://drupal.org">The Drupal project is open source software. Anyone can download, use, work on, and share it with others. It's built on principles like collaboration, globalism, and innovation.</blockquote> </body> </html>
登錄后復(fù)制
以上就是如何在HTML中使用引用標(biāo)簽標(biāo)記工作標(biāo)題?的詳細(xì)內(nèi)容,更多請(qǐng)關(guān)注www.92cms.cn其它相關(guān)文章!