Sp 407

From Htmlpedia
Jump to: navigation, search

OpenSP: NET-enabling start-tag not immediately followed by null end-tag

Cause:

This error may occur when there is a mistake in how a self-closing tag is closed, e.g '.../ >'. The proper syntax is '... />' (note the position of the space).

Example:

Bad<img src="image.jpg" alt="Image" / >
Bad<img src="image.jpg" alt="Image"/ >
Good<img src="image.jpg" alt="Image" />

Solution:

Delete a space where appropriate.

References: