Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <p>The compact attribute is not supported by any of the major browsers:</p> <dir compact> <li>html</li> <li>xhtml</li> <li>css</li> </dir> <p>The compact attribute is not supported HTML5. Use CSS instead.</p> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_dir_compact by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 08:23:22 GMT --> </html>
Result:
Try it Yourself - © w3schools.com