Presentational Attributes


Posted on March 20, 2017 by Webmaster
Webmaster


Image showing accessibility and screenshot of web services page data-lightbox='featured'

"Error occurs when presentational attributes are used in html tags instead of CSS."
 

Example:

 

For instance an error will occur if "align", "bgcolor" and "border" presentational attributes are used within html tag like "table" or "img".  Here is an example:

<img src="myimage.jpg" border="0px" />

 

How to fix the error:

 
  1. Use CSS instead.
  2. Contact Web Services if you need assistance.

Share on Social Media