Jhutanda

HTML মুছে ফেলা টেক্সট উপাদান (The HTML Deleted Text element)

<del>: HTML মুছে ফেলা টেক্সট উপাদান (The HTML Deleted Text element)। এইচটিএমএল এর এই উপাদান বা ট্যাগ দ্বার কোন টেক্সট কে মুছে ফেলা জেতে পারে। HTML মুছে ফেলা টেক্সট উপাদান (The HTML Deleted Text element) দ্বারা সাধারণত কোন টেক্সট কে মুছে ফেলার জন্যে ব্যবহার করা হয়ে থাকে।

Example:1

<!-- <del></del> means "Delete". You can delete any text to use the HTML Deleted Text element -->
    <!-- <del></del> Example:1-->
    <p>
        Lorem, ipsum dolor <del>sit amet consectetur adipisicing elit.</del> Cumque aut cupiditate hic ab a, doloremque, voluptas
        est asperiores doloribus aliquam provident fuga praesentium recusandae ratione suscipit ut sint. Velit,
        consectetur eum eligendi quisquam beatae cumque, neque sequi nulla, aliquid ad illum doloremque. Id, qui quia
        error molestias consectetur delectus sapiente.
    </p>

Example:2

<!-- <del></del> Example:2. You can also design the selected del position-->
    <p>
        Lorem, ipsum dolor <del class="delstyle">sit amet consectetur adipisicing elit.</del> Cumque aut cupiditate hic ab a, doloremque, voluptas
        est asperiores doloribus aliquam provident fuga praesentium recusandae ratione suscipit ut sint. Velit,
        consectetur eum eligendi quisquam beatae cumque, neque sequi nulla, aliquid ad illum doloremque. Id, qui quia
        error molestias consectetur delectus sapiente.
    </p>

    <style>
        .delstyle{
            background-color: red;
            color: white;
        }
    </style>

Full Code:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML MASTER JHUTANDA</title>
    <!--https://jhutanda.com-->
    <!--https://github.com/jhutanda-->
</head>

<body>
    <h1>Head</h1>
    <!-- <del></del> means "Delete". You can delete any text to use the HTML Deleted Text element -->
    <!-- <del></del> Example:1-->
    <p>
        Lorem, ipsum dolor <del>sit amet consectetur adipisicing elit.</del> Cumque aut cupiditate hic ab a, doloremque, voluptas
        est asperiores doloribus aliquam provident fuga praesentium recusandae ratione suscipit ut sint. Velit,
        consectetur eum eligendi quisquam beatae cumque, neque sequi nulla, aliquid ad illum doloremque. Id, qui quia
        error molestias consectetur delectus sapiente.
    </p>
    <!-- <del></del> Example:2. You can also design the selected del position-->
    <p>
        Lorem, ipsum dolor <del class="delstyle">sit amet consectetur adipisicing elit.</del> Cumque aut cupiditate hic ab a, doloremque, voluptas
        est asperiores doloribus aliquam provident fuga praesentium recusandae ratione suscipit ut sint. Velit,
        consectetur eum eligendi quisquam beatae cumque, neque sequi nulla, aliquid ad illum doloremque. Id, qui quia
        error molestias consectetur delectus sapiente.
    </p>

    <style>
        .delstyle{
            background-color: red;
            color: white;
        }
    </style>
</body>

</html>

Scroll to Top