Several ways exist to create a banner with scrolling text. The easiest way to get an idea of how the process works is, you create a banner with a text editing program such as Notepad is part of Windows. In the Editor, you will create a short demonstration web page with scrolling capabilities using some HTML elements or scripting code such as JavaScript or VBScript. JavaScript is preferred because it is a bit more compatible with all the browsers. With sophisticated software you can scroll the images, but the complications of this process go beyond the scope of this article.
Several ways exist to create a banner with scrolling text. The easiest way to get an idea of how the process works is, you create a banner with a text editing program such as Notepad is part of Windows. In the Editor, you will create a short demonstration web page with scrolling capabilities using some HTML elements or scripting code such as JavaScript or VBScript. JavaScript is preferred because it is a bit more compatible with all the browsers. With sophisticated software you can scroll the images, but the complications of this process go beyond the scope of this article.
things you Need
- Windows Notepad or any other text editing software
- Create a basic scrolling banner by opening Notepad from the start menu in Windows. The program is located in the "accessories" group. In Notepad, enter the following lines exactly as shown. This code creates a line of text that is read, one character at a time and constantly pushed to the right with the "substring" command. The text will then appear in a form on the web page, on a banner position at the top of the screen. The text to scroll slower, increase the number in the 'setTimeout' line. You can reduce this number, the speed of the scrolling. The background color (BGCOLOR) can be whatever color you want.br />
>
- Overlay the scrolling text on an image for a fancier look. This method adds a table to the top of the web page. He leaves it on the 'Marquee' element, and several other commands to control the direction, repeat the delay and the size of the scrolling text. Replace the image in the line that begins "
|
behavior=\"scroll\" scroll amount=\"20\" width=\"700\" height=\"50\" loop=\"true\"> . . . This text will keep scrolling across the banner . . .
|
Save the file, and they show you how in step 1. - the text at the top of the image with a 'Div' tag and increase the size of the 'H2' tag. Change the code in step 2, then save and view as directed.
behavior=\"scroll\" scroll amount=\"20\" width=\"700\" height=\"50\" loop=\"true\">
. This text will keep scrolling across the banner . . .

- Paste the banner code into your own web page, if you are not satisfied, and upload it to your web host.
tips & warnings
- The first version of this scroll code uses Active-X-controls are used. Depending on your web-browser security settings, you may receive a prompt to tell Windows blocks the execution of the control and asks for permission to go. In this case, it is safe to go because the file on your own PC.
unless scrolling banners are changed frequently, for example, with messages, you can quickly become boring for frequent visitors.
- save these text files as HTML files or the scrolling banner process will not work.
Not all web browsers support the Marquee element. Think about adding readable text, as well.
How to make Scrolling banners on a Website
Several ways exist to create a banner with scrolling text. The easiest way to get an idea of how the process works is, you create a banner with a text editing program such as Notepad is part of Windows. In the Editor, you will create a short demonstration web page with scrolling capabilities using some HTML elements or scripting code such as JavaScript or VBScript. JavaScript is preferred because it is a bit more compatible with all the browsers. With sophisticated software you can scroll the images, but the complications of this process go beyond the scope of this article.
Several ways exist to create a banner with scrolling text. The easiest way to get an idea of how the process works is, you create a banner with a text editing program such as Notepad is part of Windows. In the Editor, you will create a short demonstration web page with scrolling capabilities using some HTML elements or scripting code such as JavaScript or VBScript. JavaScript is preferred because it is a bit more compatible with all the browsers. With sophisticated software you can scroll the images, but the complications of this process go beyond the scope of this article.
things you Need
- Windows Notepad or any other text editing software
- Create a basic scrolling banner by opening Notepad from the start menu in Windows. The program is located in the "accessories" group. In Notepad, enter the following lines exactly as shown. This code creates a line of text that is read, one character at a time and constantly pushed to the right with the "substring" command. The text will then appear in a form on the web page, on a banner position at the top of the screen. The text to scroll slower, increase the number in the 'setTimeout' line. You can reduce this number, the speed of the scrolling. The background color (BGCOLOR) can be whatever color you want.br />
>
- Overlay the scrolling text on an image for a fancier look. This method adds a table to the top of the web page. He leaves it on the 'Marquee' element, and several other commands to control the direction, repeat the delay and the size of the scrolling text. Replace the image in the line that begins "
|
behavior=\"scroll\" scroll amount=\"20\" width=\"700\" height=\"50\" loop=\"true\"> . . . This text will keep scrolling across the banner . . .
|
Save the file, and they show you how in step 1. - the text at the top of the image with a 'Div' tag and increase the size of the 'H2' tag. Change the code in step 2, then save and view as directed.
behavior=\"scroll\" scroll amount=\"20\" width=\"700\" height=\"50\" loop=\"true\">
. This text will keep scrolling across the banner . . .

- Paste the banner code into your own web page, if you are not satisfied, and upload it to your web host.
tips & warnings
- The first version of this scroll code uses Active-X-controls are used. Depending on your web-browser security settings, you may receive a prompt to tell Windows blocks the execution of the control and asks for permission to go. In this case, it is safe to go because the file on your own PC.
unless scrolling banners are changed frequently, for example, with messages, you can quickly become boring for frequent visitors.
- save these text files as HTML files or the scrolling banner process will not work.
Not all web browsers support the Marquee element. Think about adding readable text, as well.
How to make Scrolling banners on a Website
By Howtodotips
Several ways exist to create a banner with scrolling text. The easiest way to get an idea of how the process works is, you create a banner with a text editing program such as Notepad is part of Windows. In the Editor, you will create a short demonstration web page with scrolling capabilities using some HTML elements or scripting code such as JavaScript or VBScript. JavaScript is preferred because it is a bit more compatible with all the browsers. With sophisticated software you can scroll the images, but the complications of this process go beyond the scope of this article.