<!DOCTYPE html> <html> <head> <script type="text/javascript"> var i=1; do { document.write("<br>",i); i++; }while(i<6) </script> </head> </html>