工作標題可以是書籍、歌曲、繪畫、電影等的標題。
我們使用標簽來標記HTML中的工作標題。標簽表示引用,標簽內的內容代表網頁上指定事物的工作標題。
語法
Following is the syntax for the tag.
<cite> Work title</cite>
登錄后復制
Example
以下是<cite>標簽的示例程序。
<!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>
登錄后復制
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>
登錄后復制
Example
以下是<cite>標簽的另一個示例程序。
<!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>
登錄后復制
以上就是如何在HTML中使用引用標簽標記工作標題?的詳細內容,更多請關注www.92cms.cn其它相關文章!






