MMDT1021 Chapter 3 Notes - page 1

 

Deprecated Tags

Deprecated (not "depreciated" )
What is there to say about them?

Most formatting tags have been deprecated (which means they are expected to become obsolete) in HTML 4.0. They have been replaced by Cascading Style Sheets.

However it can be a lot of work initially setting up a Cascading Style Sheet. So sometimes it is easier to use commonly used "old style" deprecated tags like <font>.  Browsers still support them,  so I still use the ones that are fully or widely supported and stay away from the others.


Formatting Tags I Use
  1. <b> (bold)
  2. <big> (increases font one size)
  3. <blink> (even though it drives me crazy)
  4. <blockquote> (large block of quoted text)
  5. <br / > (add blank lines and space)
  6. <center> (now I use div)
  7. <code> (computer code)
  8. <dd> (definition list description)
  9. <div> (alignment or CSS)
  10. <dl> (definition list)
  11. <dt> (definition list term)
  12. <em> (emphasis - rarely)
  13. <font> (font face, size, or color)
  14. <i> (italics)
  15. <kbd> (command line stuff)
  16. <li> (list item)
  17. <nobr> (keep stuff together)
  18. <ol> (numbered list)
  19. <p> (paragraph spacing)
  20. <plaintext> (plaintext - html ignored for special cases)
  21. <pre> (screen or printer output, etc.)
  22. <small> (decreases font one size)
  23. <strike> (strike-out text)
  24. <strong> (strong emphasis)
  25. <sub> (formulas, etc.)
  26. <sup> (formulas, dates, etc.)
  27. <tt> (typewriter stuff)
  28. <ul> (unnumbered lists)

Formatting Tags I Stay Away From
  1. <abbr> (abbreviations)
  2. <acronym> (acronyms)
  3. <address> (to set apart an address)
  4. <basefont> (set the base font for the page)
  5. <cite> (for a reference)
  6. <del> (deleted text)
  7. <dfn> (definition)
  8. <dir> (directory listing)
  9. <inlineinput> (???)
  10. <ins> (inserted text)
  11. <listing> (text listing)
  12. <menu> (menu listing)
  13. <q> (quotation)
  14. <samp> (sample code)
  15. <spell> (???)
  16. <u> (Because it is confused with links)
  17. <var> (variable names)
  18. <wbr> (suggested line break points)
  19. <xmp> (example text)