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

  • SEARCH
  • Home
  • 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 7076881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:21:09+00:00 2026-05-28T06:21:09+00:00

This is driving me nuts – I want to just display a hash symbol

  • 0

This is driving me nuts – I want to just display a hash symbol (#) in html but it just won’t show it.

I’ve tried # but nothing shows.

I want to put it at the start of my title tag like so:

<img src="<?php echo $fields->image; ?>" alt="<?php echo $fields->dish_name; ?>" height="160" width="314" title="# <?php echo $fields->dish_number; ?> <?php echo $fields->dish_name; ?>" />

Update:
http://www.orientalcatering.co.uk/v1/
This is the page I’m working on, it’s the second slider towards the bottom right of the page that I’m trying to get a comment up in (you use the title tag to do this).

  • 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. Editorial Team
    Editorial Team
    2026-05-28T06:21:10+00:00Added an answer on May 28, 2026 at 6:21 am

    &#35; is the HTML entity for the # symbol.

    Also you can simplify:

    <?php echo $fields->dish_number; ?> <?php echo $fields->dish_name; ?>
    

    to just:

    <?php echo $fields->dish_number, $fields->dish_name; ?>
    

    After reading your responses to my answer it is clear you have asked the wrong question, you are not having trouble with the title attribute per-say but rather you have used it incorrectly in attempting to set up your Nivo Slider.

    To add a caption to a Slide in Nivo slider you give it a title that references the id of a div (note the div must have the class nivo-html-caption, and be outside of your img tag), e.g.

    <img src="blah.com/blah.png" class="nivoSlider" title="#description1" />
    <div id="description1" class="nivo-html-caption">This is your caption</div>
    

    The title attribute is used mainly for supplementary information about the contents or purpose of an element. In most modern browsers hovering over an image will reveal it’s title attribute. This is often taken advantage of in Javascript as you have seen as a way to pass more data, but each script will have it’s own method of implementation.

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

Sidebar

Related Questions

This is driving me nuts. I usually use Tkinter for gui stuff, but just
This is driving me nuts... But I surely miss something. So the HTML looks
This is driving me nuts. I believe I asked this exact same question, but
This is driving me nuts. I've looked at all the relevant MSDN tutorials but
Alright, this is driving me nuts because my regex is working on Rubular, but
OK, this is driving me nuts. I'm sure it is trivial, but I've been
This is driving me nuts. What happens with width:100% ? Apparently it just works
This is driving me nuts!@#!@# I can load the tinyMce plugin for jquery just
This errors driving me nuts, everything seems to be in order, but hopefully I'm
This is driving me nuts. I have a simple spring app with just a

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.