This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I cannot be sure, but: In HTML5 "Void elements" should not contain a end tag, but the final slash is optional and it would only benefit those who wish to validate their documents has XML. So, <img src="/somepath" alt="sometext"> is correct. But Netbeans says it isn't. The same goes for <br> and other void elements. Regards, mem
Works fine for me in 7.1. The html validator follows the html5 spec so naturally it allows such code. Test file (test.html): <!DOCTYPE html> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="resources/css/jsfcrud.css"/> </head> <body> <img src="/somepath" alt="sometext"> <br> <br> </body> </html> => no warnings/errors If you can still reproduce the issue, could you provide some additional information - what ide version, what kind of project, what file type etc. Ideally attach a sample file I can use to verify the behavior you describe. Thank you in advance.
Created attachment 113196 [details] sample php file with html5 markup
"If you can still reproduce the issue, could you provide some additional" information - "what ide version," 7.0.1 "what kind of project," php project "what file type etc." .php "Ideally attach a sample file I can use to verify the behavior you describe." On the previous comment. Regards, M.