SitePoint Sponsor

User Tag List

View Poll Results: Which type of formatting is (more) appropriate ??

Voters
15. You may not vote on this poll
  • to use the colon char before the closing tag

    13 86.67%
  • to use the colon char after the closing tag

    2 13.33%
Results 1 to 16 of 16
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Ljubljana, Slovenija, Europe
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation A formatting question that may sound strange to you

    Well, I really don't know if this is the right section, but I couldn't find a better one. Anyways, I must also confess that this thread is most probably the "result" of my obsessive pedantry, and the result of me being a kind of a "formatting maniac" ...


    For instance, consider my software.html page. As you can see, in all cases where I link to some program's website, I use the colon character after the "strong" closing/ending tag. But the thing is that on the very same page, I also use it the other way, i.e. use the colon char before the closing tag so that it's itself bold too.


    The example of one such program's link:

    Code:
    ... <strong>BartPE</strong>: <a href="http://www.nu2.nu/pebuilder" onclick="target='_blank';">http://www.nu2.nu/pebuilder</a> ...
    The example of one such navigational text:

    Code:
    <strong>My various blogs:</strong>
    Code:
    <strong>TinyURL:</strong>
    Code:
    <strong>Disclaimer 1:</strong>
    So since I am a "formatting maniac" (i.e. I like things to be "consistent" through the whole site/page), I've decided to use the same formatting in both cases (i.e. in case of programs and these navigational etc. texts), therefore I am curious: by various written or un-written design standards, which option from the two is better, and which one would you prefer personally.


    thanks in advance, satyr
    See my computing-related homepage: http://tadej-ivan.50webs.com/.

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I voted before the closing tag. It seems more appropriate than after to me and that is my personal taste. I am not sure if one way is more correct than the other.

  3. #3
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think from a semantic point of view it should be after the tag as the bit you're emphasising is the text, not the fact that there's a separation between one part of the sentence and the next (unless you think the separation itself is worth emphasising, but even then my opinion would be that it's a different sort of emphasis to the one placed on the text itself).
    However, from a visual point of view, I think the colon looks better if it is in bold due to the fact that there's no space between the bold text and the colon but there is between the colon and the non-bold text.

  4. #4
    SitePoint Wizard bronze trophy C. Ankerstjerne's Avatar
    Join Date
    Jan 2004
    Location
    The Kingdom of Denmark
    Posts
    2,702
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    I voted 'before'. The reason is, that the colon substitutes a period. If a sentence was bold, and contained a period, the period should be bold as well, since it's a part of the sentence.
    Christian Ankerstjerne
    <p<strong<abbr/HTML/ 4 teh win</>
    <>In Soviet Russia, website codes you!

  5. #5
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Ljubljana, Slovenija, Europe
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks much all for your replies !!


    satyr
    See my computing-related homepage: http://tadej-ivan.50webs.com/.

  6. #6
    bronze trophy
    Join Date
    Dec 2004
    Location
    Sweden
    Posts
    2,670
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by C. Ankerstjerne
    I voted 'before'. The reason is, that the colon substitutes a period. If a sentence was bold, and contained a period, the period should be bold as well, since it's a part of the sentence.
    +1.
    Simon Pieters

  7. #7
    SitePoint Addict
    Join Date
    Jan 2002
    Location
    Southwest Florida
    Posts
    393
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It sounds like you've got a good consensus, but I just wanted to add that in conventional typography, the rule has always been that (with few exceptions) punctuation following text that's bolded, italicized, etc., takes the formatting of the text preceeding it.

    I disremember the few exceptions, but it's a pretty safe rule of thumb: an italic word followed by a comma -- the comma is italic. Bold word followed by a period -- the period is bold. And so forth.

  8. #8
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by sonjay
    It sounds like you've got a good consensus, but I just wanted to add that in conventional typography, the rule has always been that (with few exceptions) punctuation following text that's bolded, italicized, etc., takes the formatting of the text preceeding it.

    I disremember the few exceptions, but it's a pretty safe rule of thumb: an italic word followed by a comma -- the comma is italic. Bold word followed by a period -- the period is bold. And so forth.
    That's what I do as well.

  9. #9
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Ljubljana, Slovenija, Europe
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, and now I got so many different opinions that I am even more confused, lol ...


    greetings, satyr
    See my computing-related homepage: http://tadej-ivan.50webs.com/.

  10. #10
    SitePoint Addict
    Join Date
    Jan 2002
    Location
    Southwest Florida
    Posts
    393
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No no ... we're all (well, almost all) saying the same thing! The punctuation -- the colon, in this case -- "belongs to" the preceeding text, therefore it should take on the same style as the preceeding text.

  11. #11
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Four out of five people agree that <strong>text:</strong> is the proper usage here.
    Last edited by Paul O'B; Oct 1, 2006 at 08:22.

  12. #12
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Ljubljana, Slovenija, Europe
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    By the way guys, this particular NogDog's post on the WebDeveloper forums is very interesting, i.e. he pasted some related "formatting rules" from the Chicago Manual of Style, as stated on the linked page, they are "The bible of the publishing and research ...".


    satyr
    Last edited by satyr; Sep 29, 2006 at 18:33. Reason: a minor fix
    See my computing-related homepage: http://tadej-ivan.50webs.com/.

  13. #13
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Ljubljana, Slovenija, Europe
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb

    Quote Originally Posted by sonjay
    No no ... we're all (well, almost all) saying the same thing! The punctuation -- the colon, in this case -- "belongs to" the preceeding text, therefore it should take on the same style as the preceeding text.
    Oh you know, I meant also on other forums where I asked this particular question, to get as much different opinions as possible !!


    satyr
    Last edited by satyr; Sep 29, 2006 at 18:35. Reason: minor fix
    See my computing-related homepage: http://tadej-ivan.50webs.com/.

  14. #14
    SitePoint Addict
    Join Date
    Jan 2002
    Location
    Southwest Florida
    Posts
    393
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The Chicago Manual section is what I was (vaguely) remembering in my earlier post. As that excerpt shows, it explicitly states "periods, commas, colons, and semicolons should appear in the same font as the word, letter, character, or symbol immediately preceding them if different from that of the main or surrounding text." You can't get much clearer than that.

  15. #15
    SitePoint Wizard bronze trophy C. Ankerstjerne's Avatar
    Join Date
    Jan 2004
    Location
    The Kingdom of Denmark
    Posts
    2,702
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Don't listen to what they say at other forums. This forum is better
    Christian Ankerstjerne
    <p<strong<abbr/HTML/ 4 teh win</>
    <>In Soviet Russia, website codes you!

  16. #16
    SitePoint Enthusiast
    Join Date
    May 2006
    Location
    Ljubljana, Slovenija, Europe
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation

    Quote Originally Posted by sonjay
    The Chicago Manual section is what I was (vaguely) remembering in my earlier post. As that excerpt shows, it explicitly states "periods, commas, colons, and semicolons should appear in the same font as the word, letter, character, or symbol immediately preceding them if different from that of the main or surrounding text." You can't get much clearer than that.
    Well, as you can see from this particular NogDog's reply in a same thread that I opened on WebDeveloper forums, it seems that the linked "Chicago Manual" article isn't so certain about which form is "correct", or more "appropriate".


    satyr
    See my computing-related homepage: http://tadej-ivan.50webs.com/.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •