Online 5636

From Htmlpedia
Jump to: navigation, search

Online: The “...” attribute on the “...” element is obsolete. Use CSS instead.

Cause:

The error is caused by an old attribute that is deprecated.

Example:

The “border” attribute on the “table” element is obsolete. Use CSS instead.

Bad<table border=1>
Good<table style="border-style: solid; border-width: 1px;">

Solution:

Replace the attribute by the CSS equivalent

References: