treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] Pre and Blockquote

  • I've been looking for a variety of articles about <pre> but I don't think I found something I was looking for. Actually, what is the right/appropriate standard: write the code inside <pre><code>... or <blockquote><code>... ?

    And why?

    (Because I had been writing code with the second way..)
  • The correct way is to use the pre tag. Why would you use the blockquote when you are not writing a quotation?
  • You don't need to use <code> either.
  • WHAAAATTTTTTTTTT? But. but... I have been using the <blockquote> on MORE THAN 100 POSTS!
    Oh, @TT_Mark... Could you lie a little to me and said that <blockquote> can be used????
    PLEAAAASSSEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  • Okay. I give up! Starting today I will use <pre>!
    WARGGGGGGGGGGHHHHHHHHHHHHHHHH!!!!!!!!!