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 1102311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:10:00+00:00 2026-05-17T01:10:00+00:00

I am about to finish up my dynamic classifieds website (php) and have some

  • 0

I am about to finish up my dynamic classifieds website (php) and have some problem with figuring out how to write the meta and title tags.

I have read mixed articles about the & sign, and how to use it in the title or meta tags properly.

What role does the document encoding have and does the DOCTYPE have anything to do with this also?

In my case, this is my document top:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

I wonder, should I write the and tags with an ‘&‘ or an ‘&amp;‘ instead?

Just as an example:

 <title>Dolce & Gabbana</title>
             or
 <title>Dolce &amp; Gabbana</title>

I can’t use the word ‘and’ simply because it doesn’t “look” as good.

Thanks

  • 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-17T01:10:00+00:00Added an answer on May 17, 2026 at 1:10 am

    In this case both &amp; and even just & are valid as the latter is followed by a whitespace and thus cannot be confused with a reference open delimiter.

    But the HTML 4 specification recommends to use &amp; to avoid ambiguity:

    Authors should use “&amp;” (ASCII decimal 38) instead of “&” to avoid confusion with the beginning of a character reference (entity reference open delimiter). Authors should also use “&amp;” in attribute values since character references are allowed within CDATA attribute values.

    See my answer on Do I really need to encode ‘&‘ as ‘&amp;‘? for further information.

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

Sidebar

Related Questions

I have this homework that I gotta finish, but then something about it is
I have this query, but it takes about 15 seconds to finish.. how can
Little problem about sending PHP array to javascript function, i did homework looked everywhere
I am about to finish my script that parses/scrapes website using mechanize&ruby. I need
I am just about to finish my first iPhone application. I have heard of
I have a about screen that has some buttons, but I keep getting NullPointerException
About to start another jquery mobile site for an existing website. Cut down version
About to create a form using Zend Form, all the form elements should have
although I'm about to finish my first app, I'm still confused about the very
I'm quite new to Android development and was about to finish my first application

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.