CODE QUOTE HTML Tag?

Discussion in 'HTML & Website Design' started by redhits, Nov 19, 2008.

  1. #1
    Is there a HTML tag for code quoting ?
     
    redhits, Nov 19, 2008 IP
  2. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
  3. wdstuff54

    wdstuff54 Well-Known Member

    Messages:
    639
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Are you talking about Commenting or Quoting?

    
    
    <!-- Commented text goes here -->
    
    <blockquote>
    Quoted text goes here
    </blockquote>
    
    
    Code (markup):
    Hope that helps.
     
    wdstuff54, Nov 19, 2008 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    Or, are you talking about wanting to display source code on your page? If that's it, there's the <code> element. It's an inline element. You probably will want to wrap it in a <pre> element, which is block.

    For an example, view Centering Inline Elements with CSS for an example of displayed source code. View the source for how it's done.

    cheers,

    gary
     
    kk5st, Nov 19, 2008 IP
  5. vicky1408

    vicky1408 Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Are you talking about quotation?if so,for coding that you could use <q>.The <q> tag defines the start of a short quotation,which ends by </q>.
     
    vicky1408, Nov 20, 2008 IP