Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
please do away with presentation junk in the html!!
#29
(04-15-2012, 03:18 PM)ekerazha Wrote:  
(04-08-2012, 10:32 AM)darkhorus Wrote:  <strong> and <em> are necessary if you want to make certain parts of a text bolded or italicized, but not the whole text. If you define bold and italic in the css class for that text then the WHOLE text will be bolded and italicized, but if you only want certain parts of the text bolded and italicized, you should use <strong> and <em> on those parts.

That's not a problem, if you want bold text without semantic meaning, just use something like span style around the parts you want bold.

What difference does it make between using <span style="font-weight: bold">text</span> & <strong>text</strong> Toungue
Reply


Messages In This Thread
RE: please do away with presentation junk in the html!! - darkhorus - 04-15-2012, 03:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)