| View previous topic :: View next topic |
| Author |
Message |
Fantasy I post too much
Reputation: 13
Joined: 29 Jul 2007 Posts: 3113
|
Posted: Tue Sep 02, 2008 10:56 am Post subject: [HTML] What's the difference? |
|
|
| Code: | | <b> This makes bold </b> |
| Code: | | <strong> This makes bold too </strong> |
In practice, they look 100% the same, just different code?
What is the difference, and in which situation do you use the first instead of the second, and reversed?
This is the example I'm talking about
The same with:
| Code: | | <abbr title="What it means">Short Version</abbr> |
| Code: | | <acronym title="Description">MiniText/Words</acronym> |
The also do the same?
|
|
| Back to top |
|
 |
smartz993 I post too much
Reputation: 2
Joined: 20 Jun 2006 Posts: 2013 Location: USA
|
Posted: Tue Sep 02, 2008 11:28 am Post subject: |
|
|
| There is more than one way to skin a cat.
|
|
| Back to top |
|
 |
Fantasy I post too much
Reputation: 13
Joined: 29 Jul 2007 Posts: 3113
|
Posted: Tue Sep 02, 2008 11:31 am Post subject: |
|
|
| But, then what's the point of making those commands, if they are a total copy of another? Just takes more time to write (only seconds, but still?)
|
|
| Back to top |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Tue Sep 02, 2008 12:07 pm Post subject: |
|
|
Strong is a "phrase element", meant to apply to a paragraph. B is a "font style element". Really there is no practical difference, except: "Speech synthesizer user agents may change the synthesis parameters, such as volume, pitch and rate accordingly." based on Phrase Elements, while there is no note like that for font style elements. See http://www.w3.org/TR/html401/index/elements.html.
Other Question:
"The ABBR and ACRONYM elements allow authors to clearly indicate occurrences of abbreviations and acronyms. Western languages make extensive use of acronyms such as "GmbH", "NATO", and "F.B.I.", as well as abbreviations like "M.", "Inc.", "et al.", "etc.". Both Chinese and Japanese use analogous abbreviation mechanisms, wherein a long name is referred to subsequently with a subset of the Han characters from the original occurrence. Marking up these constructs provides useful information to user agents and tools such as spell checkers, speech synthesizers, translation systems and search-engine indexers."
http://www.w3.org/TR/html401/struct/text.html#edef-ACRONYM
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish |
|
| Back to top |
|
 |
Fantasy I post too much
Reputation: 13
Joined: 29 Jul 2007 Posts: 3113
|
Posted: Wed Sep 03, 2008 11:32 am Post subject: |
|
|
| Thanks a lot ! :D Really helped (:
|
|
| Back to top |
|
 |
|