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.
use this code in HTML file: ----------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h1>TEST </h1> Blah blah blah </body> </html> --------------------- HTML standard doesn't allow text inside body element without any embedded block tag. I'm not sure why validator doesn't warn for Transitional DTD, but at least for Strict DTD we could show warning for this code as well as the HTML validator does.