HTML code to create a Screen Saver

Here I am going to teach you the tutorial for moving text screen saver in html language. You must have the basic knowledge of html language to understand the given program. You can learn HTML from our HTML Tutorial.

You must have the basic knowledge of html language to understand the given program. Please see our HTML Tutorial.

Click the Button to See Demo




www.eitworld.com






HTML Program : create screen saver

<!DOCTYPE html>
<html lang="en">
<body bgcolor="blue">
<br><br><br><br><br><br><br><br><br>
<center>
<marquee><font color="pink" size="100px">www.eitworld.com</font></marquee></center>
</body>
</html>



Click the Button to See Demo


Code Explanation

  • It is very simple code you can easily understand it by the given explanation:
  • In the above code:
    • <body bgcolor="blue"> this statement will fill the background of html webpage with the blue color.

    • <marquee><font color="pink" size="100px">www.eitworld.com</font></marquee> This statement will move the right the text in pink color from right to left.

  • You can save the above code in a html file and then use it as a screen saver of your desktop. That's it...