How to write a blockquote in HTML?

by lavina.marks , in category: HTML/CSS , 2 years ago

How to write a blockquote in HTML?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

Member

by ethan , 2 years ago

@lavina.marks  You can write a blockquote in HTML use <blockquote> :


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>How to write a blockquote in HTML?</title>
  </head>
  <body>
    <blockquote
      cite="https://devhubby.com/thread/what-are-the-most-important-features-of-spring"
    >
      I think the most important features of Spring Frameworks is: 1)
      Lightweight: Spring is known as a lightweight framework because, when you
      are using some feature of spring, you don’t need a complete spring
      framework. Example: If you want to create an application that deals only
      with a database then you can use only JDBC, you don’t need Spring MVC as
      it is unrelated to it.
    </blockquote>
  </body>
</html>

Member

by woodrow , 7 months ago

@lavina.marks 

To write a blockquote in HTML, you can use the <blockquote> element. Here is an example:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>How to write a blockquote in HTML?</title>
  </head>
  <body>
    <blockquote>
      I think the most important features of Spring Frameworks is: 1)
      Lightweight: Spring is known as a lightweight framework because, when you
      are using some feature of spring, you don’t need a complete spring
      framework. Example: If you want to create an application that deals only
      with a database then you can use only JDBC, you don’t need Spring MVC as
      it is unrelated to it.
    </blockquote>
  </body>
</html>


In this example, the <blockquote> element is used to indicate a section of quoted content. The quoted content is placed between the opening and closing <blockquote> tags. Optionally, you can also include a cite attribute within the <blockquote> tag to specify the source of the quote.