<html>
<head><title>مثال</title></head> <body dir="rtl"> <script type="text/javascript"> function salam(){ alert("وعليكم السلام"); ;} </script> <button onclick="salam();">السلام عليكم</button> </body>
</html>