如何在HTML中使用引用標籤標記工作標題?

WBOY
發布: 2023-09-07 15:17:02
轉載
640 人瀏覽過

如何在HTML中使用引用標籤標記工作標題?

工作標題可以是書籍、歌曲、繪畫、電影等的標題。

我們使用標籤來標記HTML中的工作標題。 標籤表示引用,標籤內的內容代表網頁上指定事物的工作標題。

文法

Following is the syntax for the tag.

<cite> Work title</cite>
登入後複製

Example

以下是標籤的範例程式。

<!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 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

以下是標籤的另一個範例程式。

<!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中使用引用標籤標記工作標題?的詳細內容。更多資訊請關注PHP中文網其他相關文章!

來源:tutorialspoint.com
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
最新問題
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!