Register - Log In


FunTrivia Homepage



  • New Questions

  • Unanswered


  • Post a Question
  • Goto Qn #





    Archives

    Occasionally, when visiting certain sites, I see and mdash printed. Is this supposed to be there, and what does it mean?

    Question #19174. Asked by MarkyBoy. (May 17 02 11:13 PM)


    MarkyBoy

    Just to clarify: the question I posted didn't appear exactly as I originally typed it! The mysterious 'word' I sometimes see is an ampersand sign, followed by 'mdash'.

    May 17 02, 11:18 PM
    eliasen

    I know this web site is going to brutally corrupt my answer, but I'm going to write it anyway. It corrupted your question -- turned the ampersand into ' and ' for no good reason. It'll do this to my reply, so it won't make any sense. Why do I bother? I sent e-mail to the developers but they don't bother to respond.

    The HTML character reference and {mdash;} should provide an 'em dash' in the document you see on screen. An 'em dash' is a character used by typesetters indicating a dash which is the width of the lowercase letter 'm'. The double-hyphens I'm entering here -- like this -- would normally be typeset as an em-dash.

    If you put the mdash correctly, *with* leading ampersand and trailing semicolon, into an HTML 4.0 or later document, it will display an 'em-dash' character, in the document, and not show the character reference.

    The reason that this doesn't show up right sometimes is:

    * The writer of the HTML page forgets to put the semicolon at the end of ' and {mdash;'} This is a developer error. Do a 'view-source' to see if this is in fact the problem.

    * The HTML 3.2 specification didn't include the 'mdash' character reference. So if your browser is rendering in HTML 3.2 mode, it won't show up right. This is an old-browser-problem.

    * The developer of the HTML page didn't properly specify a DOCTYPE specifier at the top of the document, so the document isn't being rendered in HTML 4.0 mode, and the character thus doesn't appear correctly. This is again a developer error.

    May 18 02, 8:00 AM


    Find something useful here? Please help us spread the word about FunTrivia. Recommend this page below!


    Sign up to see all responses!

    Create a Free ID instantly to see all recent responses, post your own follow-ups or questions, and access over 1,000,000 trivia questions!

    Choose a User Name:
    Your Email Address:
    Choose a Password:

    I agree by the terms outlined in FunTrivia's Conditions of Use





    Other Similar Questions & Answers


    From everything on film or ever printed is there any record of Peter Parker (a.k.a. Spiderman) ever visiting "Stately Wayne Manor" of Batman?

    I looked up the lyrics of Michael Jackson's "Black or White" on 6 different sites. They all have part of it written as: I Am Tired Of This Devil I Am Tired Of This Stuff I Am Tired Of This Business Sew When The Going Gets Rough I Ain't Scared Of Your Brother... Is the word really "sew" instead of "so" - do they ALL have it wrong? Or are you supposed to sew when the going gets rough?

    A newspaper that had printed on pink paper for over one hundred years printed on green paper for one day only. Which newspaper and what was the occasion?

    Suggested Related FunTrivia Quizzes - 90,000 currently online

    1 'I' is for....
    Another installment here of my quiz. Up to 'I' now where I give you a scenario and.......oh if you don't know how it works by now look at my others.....Enjoy!
    Words A - M Tough
    10 Q
    kristian88
    Aug 15 03
    726 plays
    2 T.I.
    This quiz is about the infamous rapper T.I. PLEASE RATE IT @ THE END
    T. I. Average
    10 Q
    renee18p
    Dec 13 06
    2727 plays
    3 Visiting Ours
    In "Visiting Ours", Michael tries to find out what went wrong on the international account and he decides not to help George Sr. anymore. Good luck!
    'Arrested Development' - Season 1 Average
    10 Q
    kyleisalive
    Jul 03 05
    621 plays




    "Ask FunTrivia" is for entertainment purposes only, and answers offered are unverified and unchecked by FunTrivia. We cannot guarantee the accuracy or veracity of ANY statement posted. Feel free to post an updated response if you feel that an answer is inadequate or incorrect. Please thoroughly research items where accuracy is important to you using multiple reliable sources. By accessing our website, you agree to be bound by our terms of service.