Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#41904 new defect (bug)

Html Invalid

Reported by: adnan.limdi Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: Cc:
PR Number:


Image closed tag missing in class-wp-plugin-install-list-table file line no 535.

Attachments (1)

img-closetag-missing.patch (614 bytes) - added by adnan.limdi 2 years ago.

Download all attachments as: .zip

Change History (4)

#1 @adnan.limdi
2 years ago

  • Keywords has-patch added

#2 follow-up: @Soean
2 years ago

Hey Adnan,

The img element is a void element. An img element must have a start tag but must not have an end tag.

Source: http://w3c.github.io/html-reference/img.html#img

The '/' at the end of a void element was just necessary in the old XHTML.

#3 in reply to: ↑ 2 @adnan.limdi
2 years ago

Hello @Soean you are right but we are follow image close tag for every file except this files and
Whereas <img src="smiley.gif" alt="Smiley face" height="42" width="42"/>, this code is for XHTML version.

Note: See TracTickets for help on using tickets.