WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How should I properly close this code?

[Resolved] How should I properly close this code?

  • The validator signals an error with the way I close this code, can someone tell me what’s wrong?
    <p align="center"><a href="http://raphaella.co.kr/blog/photo/agnese/agnese370un.jpg" title="Agnese ring" rel="lightbox"><img title="Agnese ring" style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px; margin-right: 5px; padding-top: 5px" alt="Agnese ring" src="http://raphaella.co.kr/blog/photo/agnese/agnese133.jpg" width="133" border="0" />

    The validator says this:
    1. Error Line 79 column 3: end tag for “a” omitted, but OMITTAG NO was specified.

    You may have neglected to close an element, or perhaps you meant to “self-close” an element, that is, ending it with “/>” instead of “>”.
    2. Info Line 78 column 24: start tag was here.
    <p align=”center”><a href=”http://raphaella.co.kr/blog/photo/agnese/agnese

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How should I properly close this code?’ is closed to new replies.