Posts tagged "deprecation"

Dw CS6: Attributes deprecated from “img” tag

Dreamweaver CS6 made a change in code generation of attributes for tags in favor of using CSS. Once such example is the “img” tag from which the following attributes were removed.

  • border
  • vspace
  • hspace
  • align

The below screenshot will give you an idea of the changes made from Dreamweaver CS5.5 to CS6.0

Img tag attributes deprecated

Img tag attributes deprecated

These attributes have been deprecated in HTML 4.0 as mentioned  by W3C here and have been marked as  Obsolete here 

A quick look at the img tag at W3Schools will give an idea of the deprecated attributes for img tag.