certo non è possibile in html.se per esempio usi php:
Codice PHP:
<?php
$a
=0;
$b=600;
$num=rand($a,$b);
  echo 
$num;
?>