Jump to content

the ctrl-v game


ffchild

Recommended Posts

  • Replies 498
  • Created
  • Last Reply

Top Posters In This Topic

(Begin paste)

<b> & <i> vs. <strong> & <em>

 

There's often confusion on when to use these tags, since they have the same respective visual effects (in fact, it tends to spark hot debates among said confused parties). When deciding whether to use <b> or <strong> and <i> or <em>, it's important to consider their underlying meanings.

 

<b> and <i> mean 'bold' and 'italic', nothing more, nothing less. They're purely presentational elements, so they should be used when the intention is to change the way text looks, but nothing else.

 

Examples:

<b>Really Minor Heading</b>

<p>Here we have some paragraph text.</p>

<p><b>Note:</b> Some information that should be noted.</p>

<div class="center"><img src="//images.weserv.nl/?url=http://the.image.url/img.gif" alt="Map of level 1" />
<br /><i>A caption for the image</i></div>

 

On the other hand, <strong> and <em> mean 'strong emphasis' and 'emphasis'. They should be used when the text has actual semantic emphasis. Basically, if parts of your text have emphasis when you read them out loud, then use these tags.

 

This is important for accessibility: screen reader software uses <strong> and <em> to figure out the tone of the text it's reading.

 

Examples:

<p>It is <strong>very important</strong> that you do this! Otherwise, you'll lose very quickly later on.</p>

<p>You don't <em>need</em> to get this item, but it's very helpful!</p>

 

Image Naming

 

The current image naming convention calls for names with this pattern:

#INSERTPAGEURL#1.gif
#INSERTPAGEURL#2.gif
#INSERTPAGEURL#3.gif
...

piratecaves1.gif
piratecaves2.gif
piratecaves3.gif
...

 

This can, however, get rather confusing when dealing with lots of images or articles you're unfamiliar with. So I'd like to propose allowing for an (optional) extra descriptive suffix on image names. Something along these lines would be helpful:

#INSERTPAGEURL#1-#DESCRIBE#.gif
#INSERTPAGEURL#2-#DESCRIBE#.gif
#INSERTPAGEURL#3-#DESCRIBE#.gif
...

piratecaves1-overview.gif
piratecaves2-level6_trickybit.gif
piratecaves3-sendscore.gif
...

 

Use of 'Note:' and 'Important:' (also 'Warning:')

 

Lots of us (myself included) use code like this a lot:

<p><b>Important:</b> Something important to say.</p>
<p><b>Note:</b> Something to say.</p>

 

Which is all very well and very convenient. However, some of us (mainly myself :P ) have a tendency to use this haphazardly and without much consideration of what it's supposed to mean. So I propose the following standard definitions for notes.

 

Note: A note is a tip or shortcut or alternative approach to the task at hand. Ignoring a note should have no negative consequences, but you might miss out on a trick that makes your life easier.

 

Important: This details things that are easily missed, but could have negative consequences in the future. Ignoring these things won't cause catastrophic damage (e.g. a frozen account) but may cause irritation and frustration.

 

Warning: A warning should not be ignored. Ignoring warnings will most likely cause catastrophic damage to your account, or completely waste a huge amount of effort.

 

Credit for these definitions goes to the Fedora Project (CC-BY-SA 3.0).

 

That's about all I think. xD

(End paste)

 

^ Uh... yeah. Proposing TDN coding standards and conventions. :P

Link to comment
Share on other sites

questions.

 

my favorite christmas movie?

favorite christmas song?

favorite christmas character?

favorite christmas decoration?

 

 

Ahaha, I'm asking all my friends because at work we have to know all our favorites so we can do this guessing game and guess who people are by their favorites or something.... I didn't explain that well at all.

Link to comment
Share on other sites

78dac5914f4bc33018879336146b196514f1ead163defc69d3a30a63076f7e82d865b4b8f5507b11

41e8fce09a26dd0ece833ba809a54ffafe1a78f82184489ce2684eed62f671c4a8a4d211a754724b6

03f82928e84e5c251ce00d848607fc90b1457b5ee74d59b0ea5777bbcbad72fa68b318e67987cd845

90dd980c6f64b83d4f70f2dcebde4433fb6a5790eab6d9da7390ad3bbd350b5d9928a4893b446759a

d9beea1d62b135e4ec1311164ee0e174e1e374dfb345f6f74bfb4e110c717477a20a9f07aa04aea54

8051a61cb129372a73e1e50500f7d31c40f8a96250f869c138933f90c793f9fb82ec967f617e5c2ca

883392bf7c5724ebf160b949727157b70bb2643feef6e5214939b2c7d6f82c1376ea0d4096ec32bd9

ddfcba5b803f01392ade9d

I think this is a bannedstory code my cousin sent me.

I'm on her computerr, not mine.

But still, wtf?

Link to comment
Share on other sites

Link to comment
Share on other sites

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

Announcements




×
×
  • Create New...