HTML insert of login/registration form on a page?

Is there a way to insert a html script on a page that will have a login/registration form appear? Thanks!