SitePoint Sponsor

User Tag List

Results 1 to 17 of 17
  1. #1
    SitePoint Addict
    Join Date
    Mar 2002
    Location
    Los Angeles
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why does dreamweaver MX use <strong> and <em>?

    instead of <b> and <i>? is that supposed to make it more compliant with something?
    From here on, it's instinctual...even straight roads meander.

  2. #2
    + platinum's Avatar
    Join Date
    Jun 2001
    Location
    Adelaide, Australia
    Posts
    6,441
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Simply put, yeah I belive thats what you should be using for XHTML

  3. #3
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's because STRONG and EM are descriptive to voice browsers. They actually indicate what sort of emphasis should be put on the words in question.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  4. #4
    SitePoint Addict
    Join Date
    Mar 2002
    Location
    Los Angeles
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so doing it this way will be the new standard then?
    From here on, it's instinctual...even straight roads meander.

  5. #5
    + platinum's Avatar
    Join Date
    Jun 2001
    Location
    Adelaide, Australia
    Posts
    6,441
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah it is already.. you don't technically HAVE to use them, <B> isn't going to be phased out or anything like that, but it's all about standards these days and the more people you can cater for the better!

  6. #6
    My precious!!! astericks's Avatar
    Join Date
    Mar 2002
    Location
    Vancouver, BC
    Posts
    1,971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can change them in your settings if you want.

    Edit > Preferences > General

  7. #7
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It makes a lot more sense to use the <strong> (which visually renders as <b>) and <em> (which visually renders as <i>) if not for the sake of standards then for the sake of people using speech browsers which recognise them. I abandoned the good old <b> and <i> tags some time ago now, and despite the extra typing, using <strong> and <em> makes me feel all gooey inside
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  8. #8
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For the record, I have no intention of using STRONG and EM. I find them silly and useless. If the makers of speech browsers are so concerned about their users then they should simply code them to interpret B and I as their spoken counterparts.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  9. #9
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Methinks Creole is rebelling

    Not only does he defy the almighty w3c, but he does it in CAPS
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  10. #10
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    THAT'S RIGHT!
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  11. #11
    SitePoint Zealot yuri's Avatar
    Join Date
    Oct 2001
    Location
    Just Round The Corner!
    Posts
    166
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i agree with creole.
    if it ain't broken, don't fix it
    chris

  12. #12
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <strong> and <em> are not just there to support voice browsers - they are an improvement on <b> and <i> because they say something about the meaning of the word / phrase they are used with rather than just specifying how it should be visually presented. XHTML is all about adding extra meaning to content - "this is a paragraph", "this is a list", "this is a quote", "this is an abbreviation" etc. <b> and <i> are presentational tags and as such are no longer relevant (at least as far as XHTML goes) as they have been replaced by CSS.

  13. #13
    Weird Little Girl Desdelena's Avatar
    Join Date
    May 2002
    Location
    Canada
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I never have used <strong> or <em> and I never plan to unless browsers stop rendering <b> and <i> and Im left with no alternative. Its simpler, easier to remember and less to type. Creole makes a good point about the voice reading browsers too. Only so much of a website can be interpreted when its being read off to the viewer anyhow. Missing out on bold and italic text isnt really too big of a deal if you ask me.

  14. #14
    SitePoint Zealot yuri's Avatar
    Join Date
    Oct 2001
    Location
    Just Round The Corner!
    Posts
    166
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but when CSS eventually takes over, won't they again be obsolete because of the css styling attributes applied to them. and if it is going to go the way of CSS, then using style attributes (<b>,<i>)makes more sense.
    Also, what is the point of changing the markup when it is only going to be of use to people with voice browsers and stuff, a percentage significantly less than 10.

    chris

  15. #15
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by yuri
    but when CSS eventually takes over, won't they again be obsolete because of the css styling attributes applied to them
    Not at all. <strong> and <em> will not be made obsolete by CSS because they are not specifically intended to style elements - they are used to add meaning to elements instead. <span class="bold">evil hot curry</span> may render the words in bold but it adds nothing to the meaning of the document. <strong>evil hot curry</strong> does add meaning, and can have bold (or whatever other style) applied to it by CSS.

    CSS will eventually make presentational tags such as <font>, <b> and <i> obsolete but meaningful tags such as <strong>, <acronym>, <code>, <blockquote> etc will always be relevant.

  16. #16
    SitePoint Zealot yuri's Avatar
    Join Date
    Oct 2001
    Location
    Just Round The Corner!
    Posts
    166
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thing is, they will render the same in browsers as <b> and <i>. the meaning of a word or phrase is already there with the <b> tag. i know that i will be useful for the voice browsers and stuff but that does only represent a minority. i do try and make my pages XHTML compliant, but i refuse to use <strong and <em>. a quick find and replace sorts that out. most of the XHTMl stuff is a good idea, i use blockquote regularly.

    If voice browsers are clever enough to interpret te p[ages then surely they can intrepret a <b> tag as a <strong> tag. it does seem pointless.

    for each time i use the <strong> tag, i use a further 10 byte. now i know my code isn't perfect, far from it, but when my news page includes the news files, the over all size of the document does go up by about 3K <--far from perfect code with loadsa 'bold'.

    chris

  17. #17
    SitePoint Guru sowen's Avatar
    Join Date
    Feb 2001
    Location
    Stockport, UK
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Desdelena
    Missing out on bold and italic text isnt really too big of a deal if you ask me.
    I really suggest we don't ask you, but instead ask the blind person who's using the screen reader!


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
  •