How to define a section that is quoted from another source?

नमस्कार दोस्तों इस लेख में हम How to define a section that is quoted from another source? के बारे में बात करेंगे।

How to define a section that is quoted from another source?

इसको दो तरीके से किया जा सकता है:

  • <blockquote> use करके
  • <q> use करके

<blockquote> use करके

<blockquote cite="https://www.example.com/article">
    नमस्कार दोस्तों इस लेख में हम How to define a section that is quoted from another source? के बारे में बात करेंगे। 
</blockquote>

<q> use करके

<p>नमस्कार दोस्तों इस लेख में हम<q>How to define a section that is quoted from another source?</q>के बारे में बात करेंगे।</p>

इसे भी पढ़े: HTML practice projects for beginners with source code 🚀

Example

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Quote Example</title>
</head>
<body>

    <h2>Blockquote Example</h2>
    <blockquote cite="https://www.example.com/article">
        "Success is not the key to happiness. Happiness is the key to success. If you love what you are doing, you will be successful."
    </blockquote>

    <h2>Inline Quote Example</h2>
    <p>As Albert Einstein once said, <q>Imagination is more important than knowledge.</q></p>

</body>
</html>

हम आशा करते है की आपको आपके सवाल How to define a section that is quoted from another source? का जवाब मिल गया होगा। 

इसे भी पढ़े:

Leave a comment