Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 181771
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:49:20+00:00 2026-05-11T14:49:20+00:00

I used to just use p and span elements for this… but I’m always

  • 0

I used to just use p and span elements for this… but I’m always pushing to use the right elements, and this is something I haven’t really thought about before with regard to testimonials.

This is what I had in mind…

<div class='testimonial'>  <blockquote>I love your products!</blockquote>  <span>Jim Testimonial-giver</span> </div> 

Does that look like the best way to do this? Is there a best practice?

I looked at how the W3C markup testimonials on their site, and they have used…

<blockquote>  <p>   <a id='aptest' name='aptest'>Applied Testin.....</a>   <br />   <span class='QuoteAttr'>-- Shane P. M...</span>  </p> </blockquote> 

Should I just copy how the W3C did it, after all shouldn’t they be correct?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:49:21+00:00Added an answer on May 11, 2026 at 2:49 pm

    Use the cite tag:

    <div class='testimonial'>  <blockquote>i love your products</blockquote>  <cite>Jim Testimonial-giver</cite> </div> 

    Also I would probably do it like this:

    <blockquote class='testimonial'>   i love your products   <cite>Jim Testimonial-giver</cite> </blockquote> 

    Just to make it slightly more semantic and clearly tie the citation with the quote. Divs should only be necessary for structural things.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just can't remember the terminology used for this and other related properties. EDIT
This is really simple. I have a TableLayoutPanel that is populated with controls (just
I just wanted to compare different solutions used when implementing ACLs in Rails.
Just forgot the command which I used to execute at DOS Prompt to list
I just saw a article on Swing being used in JavaFX. How can an
I'm just wondering if the same thread is used for each session, or if
I'm just trying to get a general idea of what views are used for
I'm used to thinking of member functions as just being a special case of
I personally used Mercurial and Subversion in a limited way and I just can't
One simple method I've used in the past is basically just creating a second

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.