• Hi

    Can you explain why the 1st tag below appears as the actual page description even though it is surrounded by comment tags.The 2nd tag I wanted to be the actual description, but it does not appear that way on the browsed page.
    Thanks
    Arthur

    <!–<meta name=”description” content=”Party costumes: Hen parties, stag nights and all outfit for all events” />

    <meta name=”description” content=”Games for Hen parties and stag nights”/>

Viewing 4 replies - 1 through 4 (of 4 total)
  • even though it is surrounded by comment tag…

    Well, actually, it is not surrounded.
    It has only the opening tag and missing the closing tag: -->

    It should be:
    <!–<meta name=”description” content=”Party costumes: Hen parties, stag nights and all outfit for all events” />–>

    Thread Starter astoller

    (@astoller)

    So as it stands, is the tag then considered to be a real description tag?

    You don’t read carefully!
    You did NOT comment it out. Period. You thought so, but you didn’t.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    So as it stands, is the tag then considered to be a real description tag?

    As it stands, with half of a comment, the entire page is invalid and you’re lucky it displays at all.

    Invalid page code has undefined behavior. It’s not considered to be a real anything unless it’s valid in the first place.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘commented out descriptions appear as the real thing ?’ is closed to new replies.