|
|||||||
New to SitePoint Forums? Register here for free!
|
| View Poll Results: Which type of formatting is (more) appropriate ?? | |||
| to use the colon char before the closing tag |
|
13 | 86.67% |
| to use the colon char after the closing tag |
|
2 | 13.33% |
| Voters: 15. You may not vote on this poll | |||
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Enthusiast
![]() Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
|
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> ... Code:
<strong>My various blogs:</strong> Code:
<strong>TinyURL:</strong> Code:
<strong>Disclaimer 1:</strong> thanks in advance, satyr |
|
|
|
|
|
#2 |
|
Is in total shock!!!!!
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2003
Location: Texas
Posts: 6,597
|
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 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2005
Location: Brisbane, QLD
Posts: 4,008
|
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 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2004
Location: The Kingdom of Denmark
Posts: 2,177
|
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.
|
|
|
|
|
|
#5 |
|
SitePoint Enthusiast
![]() Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
|
Thanks much all for your replies !!
satyr |
|
|
|
|
|
#6 | |
|
⠵
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: Sweden
Posts: 2,423
|
Quote:
|
|
|
|
|
|
|
#7 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Jan 2002
Location: Southwest Florida
Posts: 382
|
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 | |
|
In memoriam
![]() ![]() Join Date: May 2006
Location: Aurora, Illinois
Posts: 15,648
|
Quote:
|
|
|
|
|
|
|
#9 |
|
SitePoint Enthusiast
![]() Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
|
Well, and now I got so many different opinions that I am even more confused, lol ...
greetings, satyr |
|
|
|
|
|
#10 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Jan 2002
Location: Southwest Florida
Posts: 382
|
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 |
|
In memoriam
![]() ![]() Join Date: May 2006
Location: Aurora, Illinois
Posts: 15,648
|
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 09:22. |
|
|
|
|
|
#12 |
|
SitePoint Enthusiast
![]() Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
|
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 19:33. Reason: a minor fix |
|
|
|
|
|
#13 | |
|
SitePoint Enthusiast
![]() Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
|
Quote:
satyr Last edited by satyr; Sep 29, 2006 at 19:35. Reason: minor fix |
|
|
|
|
|
|
#14 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Jan 2002
Location: Southwest Florida
Posts: 382
|
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 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2004
Location: The Kingdom of Denmark
Posts: 2,177
|
Don't listen to what they say at other forums. This forum is better
![]() |
|
|
|
|
|
#16 | |
|
SitePoint Enthusiast
![]() Join Date: May 2006
Location: Ljubljana, Slovenija, Europe
Posts: 34
|
Quote:
satyr |
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 16:45.












Linear Mode
